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

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from xHTML_CDATA
 GetRawContent ()
 
- Protected Member Functions inherited from xHTML_Item
 SetProperty ($name, $value)
 
 ClearProperty ($name)
 
 AddCSSClass ($classname)
 
 CompactText ($text)
 
- Protected Attributes inherited from xHTML_Item
 $uniqid
 
 $tagname
 
 $contents
 
 $properties
 
 $autoclosed
 
 $bbenabled
 
 $parent
 

Constructor & Destructor Documentation

◆ __construct()

xHTML_CDATA_Javascript::__construct (   $text = "")

Constructor

Parameters
string$text

Reimplemented from xHTML_CDATA.

Member Function Documentation

◆ GetContent()

xHTML_CDATA_Javascript::GetContent ( )

Gets content without render

Returns
string

Reimplemented from xHTML_CDATA.

◆ Render()

xHTML_CDATA_Javascript::Render ( )

Custom renderer for this class

Reimplemented from xHTML_CDATA.

◆ ToString()

xHTML_CDATA_Javascript::ToString ( )

Gets contents' string

Returns
string

Reimplemented from xHTML_CDATA.


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