extends |
HTMLPurifier_Printer |
---|
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
__construct(string $name, string $doc_url = null, bool $compress = false)
Initialize $generator.
Initialize $generator. Parameters
Overrides |
# | ||||||
public
|
setTextareaDimensions($cols = null, $rows = null)
Sets default column and row size for textareas in sub-printers
Sets default column and row size for textareas in sub-printers |
# | ||||||
public
static
|
getCSS()
Retrieves styling, in case it is not accessible by webserver
Retrieves styling, in case it is not accessible by webserver |
# | ||||||
public
static
|
getJavaScript()
Retrieves JavaScript, in case it is not accessible by webserver
Retrieves JavaScript, in case it is not accessible by webserver |
# | ||||||
public
|
render(HTMLPurifier_Config|array $config, array|bool $allowed = true, bool $render_controls = true): string
Returns HTML output for a configuration form
Returns HTML output for a configuration form Parameters
|
# | ||||||
protected
|
renderNamespace($ns, array $directives): string
Renders a single namespace
Renders a single namespace Parameters
|
# |
Methods inherited from HTMLPurifier_Printer |
---|
prepareGenerator(), start(), end(), element(), elementEmpty(), text(), row(), escape(), listify(), getClass() |
Properties | |||
---|---|---|---|
protected
|
|
$fields = []
Printers for specific fields.
Printers for specific fields. |
# |
protected
|
|
$docURL
Documentation URL, can have fragment tagged on end.
Documentation URL, can have fragment tagged on end. |
# |
protected
|
|
$name
Name of form element to stuff config in.
Name of form element to stuff config in. |
# |
protected
|
|
$compress = false
Whether or not to compress directive names, clipping them off
after a certain amount of letters. False to disable or…
Whether or not to compress directive names, clipping them off after a certain amount of letters. False to disable or integer letters before clipping. |
# |
Properties inherited from HTMLPurifier_Printer |
---|
$generator, $config |