Class HTMLPurifier_Printer_ConfigForm_NullDecorator
Inheritance | HTMLPurifier_Printer_ConfigForm_NullDecorator » HTMLPurifier_Printer |
---|
Printer decorator for directives that accept null
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$config | For easy access. | HTMLPurifier_Printer | |
$generator | For HTML generation convenience funcs. | HTMLPurifier_Printer | |
$obj | Printer being decorated | HTMLPurifier_Printer_ConfigForm_NullDecorator |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | HTMLPurifier_Printer_ConfigForm_NullDecorator | |
prepareGenerator() | Give generator necessary configuration if possible | HTMLPurifier_Printer |
render() | HTMLPurifier_Printer_ConfigForm_NullDecorator |
Protected Methods
Method | Description | Defined 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
Method Details
public void __construct ( $obj ) | ||
$obj | HTMLPurifier_Printer | Printer to decorate |
public string render ( $ns, $directive, $value, $name, $config ) | ||
$ns | string | |
$directive | string | |
$value | string | |
$name | string | |
$config | HTMLPurifier_Config|array |