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

Public Member Functions

 __construct ($text="")
 
 Render ()
 
 ToString ()
 
 GetText ()
 
- Public Member Functions inherited from xHTML_Text
 ReplaceContent ($content)
 
 AddContent ($text)
 
 SetContent ($text)
 
 ClearContent ()
 
 GetContent ()
 
- Public Member Functions inherited from xHTML_Item
 GetID ()
 
 SetID ($id)
 
 GetParent ()
 
 SetIDVisibility ($visible)
 

Protected Member Functions

 Filter ()
 
- Protected Member Functions inherited from xHTML_Item
 SetProperty ($name, $value)
 
 ClearProperty ($name)
 
 AddCSSClass ($classname)
 
 CompactText ($text)
 
 AddContentBefore ($newContent)
 
 AddContentAfter ($newContent)
 

Additional Inherited Members

- Protected Attributes inherited from xHTML_Text
 $text
 
- Protected Attributes inherited from xHTML_Item
 $uniqid
 
 $tagname
 
 $contents
 
 $properties
 
 $autoclosed
 
 $bbenabled
 
 $parent
 

Constructor & Destructor Documentation

◆ __construct()

xHTML_FilteredText::__construct (   $text = "")

Default constructor

Reimplemented from xHTML_Text.

Reimplemented in xHTML_BBCodeText.

Member Function Documentation

◆ Filter()

xHTML_FilteredText::Filter ( )
protected

Filters text to comply with HTML special chars

Returns
string

◆ GetText()

xHTML_FilteredText::GetText ( )

Gets filtered text

Returns
string

◆ Render()

xHTML_FilteredText::Render ( )

Filters and renders text in an HTML form

Reimplemented from xHTML_Text.

Reimplemented in xHTML_BBCodeText.

◆ ToString()

xHTML_FilteredText::ToString ( )

Gets contents' string

Returns
string

Reimplemented from xHTML_Text.

Reimplemented in xHTML_BBCodeText.


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