9 $this->def =
$config->getCSSDefinition();
12 $ret .= $this->
start(
'div', array(
'class' =>
'HTMLPurifier_Printer'));
15 $ret .= $this->
element(
'caption',
'Properties ($info)');
19 $ret .= $this->
element(
'th',
'Property', array(
'class' =>
'heavy'));
20 $ret .= $this->
element(
'th',
'Definition', array(
'class' =>
'heavy',
'style' =>
'width:auto;'));
24 ksort($this->def->info);
25 foreach ($this->def->info as $property => $obj) {
26 $name = $this->
getClass($obj,
'AttrDef_');
27 $ret .= $this->
row($property, $name);
start($tag, $attr=array())
Main function that renders object or aspect of that object.
row($name, $value)
Prints a simple key/value row in a table.
end($tag)
Returns an end teg.
getClass($obj, $sec_prefix='')
Retrieves the class of an object without prefixes, as well as metadata.
element($tag, $contents, $attr=array(), $escape=true)
Prints a complete element with content inside.
$config
Instance of HTMLPurifier_Config, for easy access.