\HTMLPurifier_Printer_ConfigForm
Synopsis
class HTMLPurifier_Printer_ConfigForm
extends HTMLPurifier_Printer
{
- // members
- protected array $fields = ;
- protected $docURL;
- protected $name;
- protected boolean $compress = false;
- // Inherited members from HTMLPurifier_Printer
- protected $generator;
- protected $config;
- // methods
- public void __construct()
- public void setTextareaDimensions()
- public static void getCSS()
- public static void getJavaScript()
- public void render()
- protected void renderNamespace()
- // 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 |
---|---|
6+ | Rewrite to use Interchange objects |
Members
protected
-
$compress
Whether or not to compress directive names, clipping them off after a certain amount of letters. False to disable or integer letters before clipping. -
$config
Instance of HTMLPurifier_Config, for easy access -
$docURL
Documentation URL, can have fragment tagged on end -
$fields
Printers for specific fields -
$generator
Instance of HTMLPurifier_Generator for HTML generation convenience funcs -
$name
Name of form element to stuff config in
Methods
protected
- renderNamespace() — Renders a single namespace
public
- __construct()
- getCSS() — Retrieves styling, in case it is not accessible by webserver
- getJavaScript() — Retrieves JavaScript, in case it is not accessible by webserver
- render() — Returns HTML output for a configuration form
- setTextareaDimensions() — Sets default column and row size for textareas in sub-printers
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