Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_Printer_HTMLDefinition Class Reference
Inheritance diagram for HTMLPurifier_Printer_HTMLDefinition:
Collaboration diagram for HTMLPurifier_Printer_HTMLDefinition:

Public Member Functions

 render ($config)

Protected Member Functions

 renderDoctype ()
 renderEnvironment ()
 renderContentSets ()
 renderInfo ()
 renderChildren ($def)
 listifyTagLookup ($array)
 listifyObjectList ($array)
 listifyAttr ($array)
 heavyHeader ($text, $num=1)

Protected Attributes

 $def

Detailed Description

Definition at line 3 of file HTMLDefinition.php.


Member Function Documentation

heavyHeader ( text,
num = 1 
) [protected]

Creates a heavy header row

Definition at line 262 of file HTMLDefinition.php.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

render ( config)

Definition at line 11 of file HTMLDefinition.php.

Here is the call graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

renderContentSets ( ) [protected]

Renders the Content Sets table

Definition at line 93 of file HTMLDefinition.php.

Here is the call graph for this function:

Here is the caller graph for this function:

renderDoctype ( ) [protected]

Renders the Doctype table

Definition at line 32 of file HTMLDefinition.php.

Here is the call graph for this function:

Here is the caller graph for this function:

renderEnvironment ( ) [protected]

Renders environment table, which is miscellaneous info

Definition at line 49 of file HTMLDefinition.php.

Here is the call graph for this function:

Here is the caller graph for this function:

renderInfo ( ) [protected]

Renders the Elements ($info) table

Definition at line 110 of file HTMLDefinition.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$def [protected]

Instance of HTMLPurifier_HTMLDefinition, for easy access

Definition at line 9 of file HTMLDefinition.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations