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

Public Member Functions

 __construct ($content=NULL)
 
 AddContent ($content)
 
 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
 SetProperty ($name, $value)
 
 ClearProperty ($name)
 
 ReplaceContent ($content)
 
 CompactText ($text)
 
 AddContentBefore ($newContent)
 
 AddContentAfter ($newContent)
 
- Protected Attributes inherited from xHTML_Item
 $uniqid
 
 $tagname
 
 $contents
 
 $properties
 
 $autoclosed
 
 $bbenabled
 
 $parent
 

Constructor & Destructor Documentation

◆ __construct()

xHTML_GenericList::__construct (   $content = NULL)

Constructor ($content is ignored)

Parameters
NULL$contentDue to list automatic handling, content is ignored

Reimplemented from xHTML_Item.

Reimplemented in xHTML_UL, and xHTML_OL.

Member Function Documentation

◆ AddContent()

xHTML_GenericList::AddContent (   $content)

Adds content to list

Parameters
string | array | xHTML_Item$content

Reimplemented from xHTML_Item.

◆ AddCSSClass()

xHTML_GenericList::AddCSSClass (   $classname)

Adds CSS Class

Parameters
string$classnameCSS Class name

Reimplemented from xHTML_Item.


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