xHTML-o-MATIC
A mini framework for handling PHP web frontends.
|
Public Member Functions | |
__construct ($htmlcode="") | |
Render () | |
ToString () | |
ReplaceContent ($content) | |
AddContent ($content) | |
AddContentBefore ($newContent) | |
AddContentAfter ($newContent) | |
SetContent ($content) | |
ClearContent () | |
GetContent () | |
IsEmpty () | |
![]() | |
GetID () | |
SetID ($id) | |
GetParent () | |
SetIDVisibility ($visible) | |
Additional Inherited Members | |
![]() | |
SetProperty ($name, $value) | |
ClearProperty ($name) | |
AddCSSClass ($classname) | |
CompactText ($text) | |
![]() | |
$uniqid | |
$tagname | |
$contents | |
$properties | |
$autoclosed | |
$bbenabled | |
$parent | |
xHTML_UnparsedCode::__construct | ( | $htmlcode = "" | ) |
Constructor
Reimplemented from xHTML_Item.
Reimplemented in xHTML_CDATA_Javascript, and xHTML_CDATA.
xHTML_UnparsedCode::AddContent | ( | $content | ) |
xHTML_UnparsedCode::AddContentAfter | ( | $newContent | ) |
Adds content after this one
string | xHTML_Item | array | $newContent |
Reimplemented from xHTML_Item.
xHTML_UnparsedCode::AddContentBefore | ( | $newContent | ) |
Adds content before this one
string | xHTML_Item | array | $newContent |
Reimplemented from xHTML_Item.
xHTML_UnparsedCode::ClearContent | ( | ) |
Clears its content
Reimplemented from xHTML_Item.
xHTML_UnparsedCode::GetContent | ( | ) |
Gets content without rendering it
Reimplemented in xHTML_CDATA_Javascript, and xHTML_CDATA.
xHTML_UnparsedCode::IsEmpty | ( | ) |
Checks if is empty
xHTML_UnparsedCode::Render | ( | ) |
Overrides parent's render to prevent parsing
Reimplemented from xHTML_Item.
Reimplemented in xHTML_CDATA_Javascript, and xHTML_CDATA.
xHTML_UnparsedCode::ReplaceContent | ( | $content | ) |
xHTML_UnparsedCode::SetContent | ( | $content | ) |
Sets unparsed content and erases previous content
string | $content |
xHTML_UnparsedCode::ToString | ( | ) |
Gets contents' string
Reimplemented from xHTML_Item.
Reimplemented in xHTML_CDATA_Javascript, and xHTML_CDATA.