|
| $head |
|
| $body |
|
| $encoding |
|
| $dir |
|
| $lang |
|
| $onloadFunctionContent |
|
◆ __construct()
xHTML_Page::__construct |
( |
|
$title = "Default Title" | ) |
|
◆ AddContent()
xHTML_Page::AddContent |
( |
|
$content | ) |
|
◆ AddCSSClass()
xHTML_Page::AddCSSClass |
( |
|
$classname | ) |
|
Adds a CSS class to this object (the body of the page is the only place where this makes sense)
- Parameters
-
string | $classname | CSS class name |
◆ AddCSSFile()
xHTML_Page::AddCSSFile |
( |
|
$href | ) |
|
Adds a CSS file
- Parameters
-
◆ AddJSFile()
xHTML_Page::AddJSFile |
( |
|
$href | ) |
|
Adds a JS File
- Parameters
-
◆ AddMetaInfo()
xHTML_Page::AddMetaInfo |
( |
|
$meta | ) |
|
Sets meta info
- Parameters
-
◆ AddOnloadFunctionContent()
xHTML_Page::AddOnloadFunctionContent |
( |
|
$content | ) |
|
Adds onload function content
- Parameters
-
string | $content | Content to add |
◆ AddScript()
xHTML_Page::AddScript |
( |
|
$script | ) |
|
Adds script
- Parameters
-
string | xHTML_JavaScript | $script | Script to add |
◆ AddStyle()
xHTML_Page::AddStyle |
( |
|
$style | ) |
|
◆ AddStyleToBody()
xHTML_Page::AddStyleToBody |
( |
|
$style | ) |
|
Adds style to body
- Parameters
-
string | $style | CSS style string |
◆ Render()
◆ ReplaceContent()
xHTML_Page::ReplaceContent |
( |
|
$content | ) |
|
Replaces content
- Parameters
-
string | xHTML_Item | array | $content | Content to replace |
◆ SetEncoding()
xHTML_Page::SetEncoding |
( |
|
$enc | ) |
|
◆ SetHTMLLanguage()
xHTML_Page::SetHTMLLanguage |
( |
|
$lang | ) |
|
Sets HTML Language tag
- Parameters
-
string | $lang | Language (according to xml:lang attribute!) |
◆ SetIcon()
xHTML_Page::SetIcon |
( |
|
$icon_href | ) |
|
Sets page icon
- Parameters
-
string | $icon_href | Icon HREF |
◆ SetTextDirection()
xHTML_Page::SetTextDirection |
( |
|
$dir | ) |
|
Sets text direction
- Parameters
-
string | $dir | Text direction (ltr, rtl) |
◆ SetTitle()
xHTML_Page::SetTitle |
( |
|
$title | ) |
|
Sets page title
- Parameters
-
◆ ToString()
Gets contents' string
- Returns
- string
The documentation for this class was generated from the following file: