XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_Printer_HTMLDefinition Class Reference
Inheritance diagram for HTMLPurifier_Printer_HTMLDefinition:
Inheritance graph

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

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 $num, $ret, HTMLPurifier_Printer\element(), HTMLPurifier_Printer\end(), and HTMLPurifier_Printer\start().

Referenced by renderContentSets(), and renderInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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, $ret, HTMLPurifier_Printer\element(), HTMLPurifier_Printer\end(), HTMLPurifier_Printer\escape(), listifyTagLookup(), and HTMLPurifier_Printer\start().

Referenced by renderEnvironment(), and renderInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

HTMLPurifier_Printer_HTMLDefinition::renderContentSets ( )
protected

Renders the Content Sets table

Definition at line 93 of file HTMLDefinition.php.

References $ret, HTMLPurifier_Printer\element(), HTMLPurifier_Printer\end(), heavyHeader(), listifyTagLookup(), and HTMLPurifier_Printer\start().

Referenced by render().

Here is the call graph for this function:

Here is the caller graph for this function:

HTMLPurifier_Printer_HTMLDefinition::renderDoctype ( )
protected

Renders the Doctype table

Definition at line 32 of file HTMLDefinition.php.

References $ret, HTMLPurifier_Printer\element(), HTMLPurifier_Printer\end(), HTMLPurifier_Printer\row(), and HTMLPurifier_Printer\start().

Referenced by render().

Here is the call graph for this function:

Here is the caller graph for this function:

HTMLPurifier_Printer_HTMLDefinition::renderEnvironment ( )
protected

Renders environment table, which is miscellaneous info

Definition at line 49 of file HTMLDefinition.php.

References $def, $ret, HTMLPurifier_Printer\element(), HTMLPurifier_Printer\end(), HTMLPurifier_Printer\getClass(), HTMLPurifier_Printer\listify(), listifyAttr(), listifyObjectList(), renderChildren(), HTMLPurifier_Printer\row(), and HTMLPurifier_Printer\start().

Referenced by render().

Here is the call graph for this function:

Here is the caller graph for this function:

HTMLPurifier_Printer_HTMLDefinition::renderInfo ( )
protected

Renders the Elements ($info) table

Definition at line 110 of file HTMLDefinition.php.

References $def, $ret, HTMLPurifier_Printer\element(), HTMLPurifier_Printer\end(), heavyHeader(), HTMLPurifier_Printer\listify(), listifyAttr(), listifyObjectList(), listifyTagLookup(), renderChildren(), HTMLPurifier_Printer\row(), and HTMLPurifier_Printer\start().

Referenced by render().

Here is the call graph for this function:

Here is the caller graph for this function:

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: