xHTML-o-MATIC
A mini framework for handling PHP web frontends.
Loading...
Searching...
No Matches
xHTML_A Class Reference
+ Inheritance diagram for xHTML_A:
+ Collaboration diagram for xHTML_A:

Public Member Functions

 __construct ($content=NULL)
 
 SetLink ($link)
 
 LoadInNewPage ()
 
 SetProperty ($name, $value)
 
 ClearProperty ($name)
 
 ReplaceContent ($content)
 
 AddContent ($content)
 
 AddContentBefore ($newContent)
 
 AddContentAfter ($newContent)
 
 AddCSSClass ($classname)
 
- Public Member Functions inherited from xHTML_Item
 GetID ()
 
 SetID ($id)
 
 Render ()
 
 ToString ()
 
 GetParent ()
 
 ClearContent ()
 
 SetIDVisibility ($visible)
 

Additional Inherited Members

- Protected Member Functions inherited from xHTML_Item
 CompactText ($text)
 
- Protected Attributes inherited from xHTML_Item
 $uniqid
 
 $tagname
 
 $contents
 
 $properties
 
 $autoclosed
 
 $bbenabled
 
 $parent
 

Constructor & Destructor Documentation

◆ __construct()

xHTML_A::__construct (   $content = NULL)

Default constructor

Reimplemented from xHTML_Item.

Member Function Documentation

◆ AddContent()

xHTML_A::AddContent (   $content)

Adds content

Parameters
string | HTML_Item$contentContent to add

Reimplemented from xHTML_Item.

◆ AddContentAfter()

xHTML_A::AddContentAfter (   $newContent)

Adds content after this one

Parameters
string | xHTML_Item | array$newContent

Reimplemented from xHTML_Item.

◆ AddContentBefore()

xHTML_A::AddContentBefore (   $newContent)

Adds content before this one

Parameters
string | xHTML_Item | array$newContent

Reimplemented from xHTML_Item.

◆ AddCSSClass()

xHTML_A::AddCSSClass (   $classname)

Adds a CSS class to this object

Parameters
string$classnameCSS class name

Reimplemented from xHTML_Item.

◆ ClearProperty()

xHTML_A::ClearProperty (   $name)

Clears a property

Parameters
string$nameProperty name

Reimplemented from xHTML_Item.

◆ LoadInNewPage()

xHTML_A::LoadInNewPage ( )

Sets if this anchor has to be loaded on another page

◆ ReplaceContent()

xHTML_A::ReplaceContent (   $content)

Replaces content

Parameters
string | xHTML_Item | array$contentContent to replace

Reimplemented from xHTML_Item.

◆ SetLink()

xHTML_A::SetLink (   $link)

Sets link for anchor

Parameters
string$link

◆ SetProperty()

xHTML_A::SetProperty (   $name,
  $value 
)

Sets a property

Parameters
string$nameProperty name
string$valueProperty value

Reimplemented from xHTML_Item.


The documentation for this class was generated from the following file: