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

Public Member Functions

 __construct ()
 
 SetTitle ($title)
 
 AddContent ($content)
 
 SetEncoding ($encoding)
 
 SetRedirection ($time, $URI)
 
- Public Member Functions inherited from xHTML_Item
 __construct ($content=NULL)
 
 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)
 
 AddCSSClass ($classname)
 
 CompactText ($text)
 
 AddContentBefore ($newContent)
 
 AddContentAfter ($newContent)
 
- Protected Attributes inherited from xHTML_Item
 $uniqid
 
 $tagname
 
 $contents
 
 $properties
 
 $autoclosed
 
 $bbenabled
 
 $parent
 

Constructor & Destructor Documentation

◆ __construct()

xHTML_Head::__construct ( )

Default constructor

Member Function Documentation

◆ AddContent()

xHTML_Head::AddContent (   $content)

Adds content

Parameters
string$content

Reimplemented from xHTML_Item.

◆ SetEncoding()

xHTML_Head::SetEncoding (   $encoding)

Sets encoding

Parameters
string$encodingEncoding

◆ SetTitle()

xHTML_Head::SetTitle (   $title)

Sets page's title

Parameters
string$titlePage's title

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