xHTML-o-MATIC
A mini framework for handling PHP web frontends.
|
Public Member Functions | |
__construct ($text="") | |
ReplaceContent ($content) | |
AddContent ($text) | |
SetContent ($text) | |
ClearContent () | |
GetContent () | |
Render () | |
ToString () | |
![]() | |
GetID () | |
SetID ($id) | |
GetParent () | |
SetIDVisibility ($visible) | |
Protected Attributes | |
$text | |
![]() | |
$uniqid | |
$tagname | |
$contents | |
$properties | |
$autoclosed | |
$bbenabled | |
$parent | |
Additional Inherited Members | |
![]() | |
SetProperty ($name, $value) | |
ClearProperty ($name) | |
AddCSSClass ($classname) | |
CompactText ($text) | |
AddContentBefore ($newContent) | |
AddContentAfter ($newContent) | |
xHTML_Text::__construct | ( | $text = "" | ) |
Default constructor
Reimplemented from xHTML_Item.
Reimplemented in xHTML_FilteredText, xHTML_BBCodeText, xHTML_UnfilteredText, and xHTML_Title.
xHTML_Text::AddContent | ( | $text | ) |
xHTML_Text::ClearContent | ( | ) |
Clears content
Reimplemented from xHTML_Item.
xHTML_Text::GetContent | ( | ) |
Gets content
xHTML_Text::Render | ( | ) |
Renders text
Reimplemented from xHTML_Item.
Reimplemented in xHTML_Title, xHTML_FilteredText, and xHTML_BBCodeText.
xHTML_Text::ReplaceContent | ( | $content | ) |
xHTML_Text::SetContent | ( | $text | ) |
Sets content erasing previous content
string | $text |
xHTML_Text::ToString | ( | ) |
Gets contents' string
Reimplemented from xHTML_Item.
Reimplemented in xHTML_Title, xHTML_FilteredText, and xHTML_BBCodeText.