Class HTMLPurifier_Printer_ConfigForm_NullDecorator

InheritanceHTMLPurifier_Printer_ConfigForm_NullDecorator » HTMLPurifier_Printer

Printer decorator for directives that accept null

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$config For easy access. HTMLPurifier_Printer
$generator For HTML generation convenience funcs. HTMLPurifier_Printer
$obj Printer being decorated HTMLPurifier_Printer_ConfigForm_NullDecorator

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
element() Prints a complete element with content inside HTMLPurifier_Printer
elementEmpty() HTMLPurifier_Printer
end() Returns an end tag HTMLPurifier_Printer
escape() Escapes a string for HTML output. HTMLPurifier_Printer
getClass() Retrieves the class of an object without prefixes, as well as metadata HTMLPurifier_Printer
listify() Takes a list of strings and turns them into a single list HTMLPurifier_Printer
row() Prints a simple key/value row in a table. HTMLPurifier_Printer
start() Returns a start tag HTMLPurifier_Printer
text() HTMLPurifier_Printer

Property Details

$obj protected property
protected $obj null

Method Details

__construct() public method

public void __construct ( $obj )
$obj HTMLPurifier_Printer

Printer to decorate

render() public method

public string render ( $ns, $directive, $value, $name, $config )
$ns string
$directive string
$value string
$name string
$config HTMLPurifier_Config|array