HTMLPurifier 4.4.0
HTMLPurifier_Printer_HTMLDefinition Class Reference
Inheritance diagram for HTMLPurifier_Printer_HTMLDefinition:
HTMLPurifier_Printer

List of all members.

Public Member Functions

 render ($config)

Protected Member Functions

 renderDoctype ()
 Renders the Doctype table.
 renderEnvironment ()
 Renders environment table, which is miscellaneous info.
 renderContentSets ()
 Renders the Content Sets table.
 renderInfo ()
 Renders the Elements ($info) table.
 renderChildren ($def)
 Renders a row describing the allowed children of an element.
 listifyTagLookup ($array)
 Listifies a tag lookup table.
 listifyObjectList ($array)
 Listifies a list of objects by retrieving class names and internal state.
 listifyAttr ($array)
 Listifies a hash of attributes to AttrDef classes.
 heavyHeader ($text, $num=1)
 Creates a heavy header row.

Protected Attributes

 $def
 Instance of HTMLPurifier_HTMLDefinition, for easy access.

Detailed Description

Definition at line 3 of file HTMLDefinition.php.


Member Function Documentation

HTMLPurifier_Printer_HTMLDefinition::heavyHeader ( text,
num = 1 
) [protected]

Creates a heavy header row.

Definition at line 262 of file HTMLDefinition.php.

References HTMLPurifier_Printer::element(), HTMLPurifier_Printer::end(), and HTMLPurifier_Printer::start().

Referenced by renderContentSets(), and renderInfo().

HTMLPurifier_Printer_HTMLDefinition::listifyAttr ( array) [protected]

Listifies a hash of attributes to AttrDef classes.

Parameters:
$arrayArray hash in form of array('attrname' => HTMLPurifier_AttrDef)

Definition at line 249 of file HTMLDefinition.php.

References HTMLPurifier_Printer::getClass(), and HTMLPurifier_Printer::listify().

Referenced by renderEnvironment(), and renderInfo().

HTMLPurifier_Printer_HTMLDefinition::listifyObjectList ( array) [protected]

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

Parameters:
$arrayList of objects
Todo:
Also add information about internal state

Definition at line 236 of file HTMLDefinition.php.

References HTMLPurifier_Printer::getClass(), and HTMLPurifier_Printer::listify().

Referenced by renderEnvironment(), and renderInfo().

HTMLPurifier_Printer_HTMLDefinition::listifyTagLookup ( array) [protected]

Listifies a tag lookup table.

Parameters:
$arrayTag lookup array in form of array('tagname' => true)

Definition at line 221 of file HTMLDefinition.php.

References HTMLPurifier_Printer::listify().

Referenced by renderChildren(), renderContentSets(), and renderInfo().

HTMLPurifier_Printer_HTMLDefinition::render ( config)
HTMLPurifier_Printer_HTMLDefinition::renderChildren ( def) [protected]

Renders a row describing the allowed children of an element.

Parameters:
$defHTMLPurifier_ChildDef of pertinent element

Definition at line 170 of file HTMLDefinition.php.

References $def, HTMLPurifier_Printer::element(), HTMLPurifier_Printer::end(), HTMLPurifier_Printer::escape(), listifyTagLookup(), and HTMLPurifier_Printer::start().

Referenced by renderEnvironment(), and renderInfo().

HTMLPurifier_Printer_HTMLDefinition::renderContentSets ( ) [protected]

Renders the Content Sets table.

Definition at line 93 of file HTMLDefinition.php.

References HTMLPurifier_Printer::element(), HTMLPurifier_Printer::end(), heavyHeader(), listifyTagLookup(), and HTMLPurifier_Printer::start().

Referenced by render().

HTMLPurifier_Printer_HTMLDefinition::renderDoctype ( ) [protected]

Renders the Doctype table.

Definition at line 32 of file HTMLDefinition.php.

References HTMLPurifier_Printer::element(), HTMLPurifier_Printer::end(), HTMLPurifier_Printer::row(), and HTMLPurifier_Printer::start().

Referenced by render().

HTMLPurifier_Printer_HTMLDefinition::renderEnvironment ( ) [protected]
HTMLPurifier_Printer_HTMLDefinition::renderInfo ( ) [protected]

Member Data Documentation

HTMLPurifier_Printer_HTMLDefinition::$def [protected]

Instance of HTMLPurifier_HTMLDefinition, for easy access.

Definition at line 9 of file HTMLDefinition.php.

Referenced by renderChildren(), renderEnvironment(), and renderInfo().


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