\HTMLPurifier_Printer_HTMLDefinition
Synopsis
class HTMLPurifier_Printer_HTMLDefinition
extends HTMLPurifier_Printer
{
- // members
- protected $def;
- // Inherited members from HTMLPurifier_Printer
- protected $generator;
- protected $config;
- // methods
- public void render()
- protected void renderDoctype()
- protected void renderEnvironment()
- protected void renderContentSets()
- protected void renderInfo()
- protected void renderChildren()
- protected void listifyTagLookup()
- protected void listifyObjectList()
- protected void listifyAttr()
- protected void heavyHeader()
- // Inherited methods from HTMLPurifier_Printer
- public void __construct()
- public void prepareGenerator()
- protected void start()
- protected void end()
- protected void element()
- protected void elementEmpty()
- protected void text()
- protected void row()
- protected void escape()
- protected void listify()
- protected void getClass()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
236+ | Also add information about internal state |
Members
protected
-
$config
Instance of HTMLPurifier_Config, for easy access -
$def
Instance of HTMLPurifier_HTMLDefinition, for easy access -
$generator
Instance of HTMLPurifier_Generator for HTML generation convenience funcs
Methods
protected
- heavyHeader() — Creates a heavy header row
- listifyAttr() — Listifies a hash of attributes to AttrDef classes
- listifyObjectList() — Listifies a list of objects by retrieving class names and internal state
- listifyTagLookup() — Listifies a tag lookup table.
- renderChildren() — Renders a row describing the allowed children of an element
- renderContentSets() — Renders the Content Sets table
- renderDoctype() — Renders the Doctype table
- renderEnvironment() — Renders environment table, which is miscellaneous info
- renderInfo() — Renders the Elements ($info) table
public
Inherited from HTMLPurifier_Printer
protected
- element() — Prints a complete element with content inside
- elementEmpty()
- end() — Returns an end teg
- escape() — Escapes a string for HTML output.
- getClass() — Retrieves the class of an object without prefixes, as well as metadata
- listify() — Takes a list of strings and turns them into a single list
- row() — Prints a simple key/value row in a table.
- start() — Returns a start tag
- text()
public
- prepareGenerator() — Give generator necessary configuration if possible