API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_Printer_HTMLDefinition Class Reference
Inheritance diagram for HTMLPurifier_Printer_HTMLDefinition:
Collaboration diagram for HTMLPurifier_Printer_HTMLDefinition:

Public Member Functions

 render ($config)
 
- Public Member Functions inherited from HTMLPurifier_Printer
 __construct ()
 
 prepareGenerator ($config)
 

Protected Member Functions

 renderDoctype ()
 
 renderEnvironment ()
 
 renderContentSets ()
 
 renderInfo ()
 
 renderChildren ($def)
 
 listifyTagLookup ($array)
 
 listifyObjectList ($array)
 
 listifyAttr ($array)
 
 heavyHeader ($text, $num=1)
 
- Protected Member Functions inherited from HTMLPurifier_Printer
 start ($tag, $attr=array())
 
 end ($tag)
 
 element ($tag, $contents, $attr=array(), $escape=true)
 
 elementEmpty ($tag, $attr=array())
 
 text ($text)
 
 row ($name, $value)
 
 escape ($string)
 
 listify ($array, $polite=false)
 
 getClass ($obj, $sec_prefix='')
 

Protected Attributes

 $def
 
- Protected Attributes inherited from HTMLPurifier_Printer
 $generator
 
 $config
 

Member Function Documentation

◆ heavyHeader()

heavyHeader (   $text,
  $num = 1 
)
protected

Creates a heavy header row

Parameters
string$text
int$num
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ listifyAttr()

listifyAttr (   $array)
protected

Listifies a hash of attributes to AttrDef classes

Parameters
array$arrayArray hash in form of array('attrname' => HTMLPurifier_AttrDef)
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ listifyObjectList()

listifyObjectList (   $array)
protected

Listifies a list of objects by retrieving class names and internal state

Parameters
array$arrayList of objects
Returns
string
Todo:
Also add information about internal state
Here is the call graph for this function:
Here is the caller graph for this function:

◆ listifyTagLookup()

listifyTagLookup (   $array)
protected

Listifies a tag lookup table.

Parameters
array$arrayTag lookup array in form of array('tagname' => true)
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render()

render (   $config)
Parameters
HTMLPurifier_Config$config
Returns
string
Here is the call graph for this function:

◆ renderChildren()

renderChildren (   $def)
protected

Renders a row describing the allowed children of an element

Parameters
HTMLPurifier_ChildDef$defHTMLPurifier_ChildDef of pertinent element
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderContentSets()

renderContentSets ( )
protected

Renders the Content Sets table

Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderDoctype()

renderDoctype ( )
protected

Renders the Doctype table

Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderEnvironment()

renderEnvironment ( )
protected

Renders environment table, which is miscellaneous info

Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderInfo()

renderInfo ( )
protected

Renders the Elements ($info) table

Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ $def

$def
protected

@type HTMLPurifier_HTMLDefinition, for easy access


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