HTMLPurifier 4.4.0
|
XHTML 1.1 Forms module, defines all form-related elements found in HTML 4. More...
Public Member Functions | |
setup ($config) | |
Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available. | |
setup ($config) | |
Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available. | |
Public Attributes | |
$name = 'Forms' | |
Short unique string identifier of the module. | |
$safe = false | |
Boolean flag whether or not this module is safe. | |
$content_sets | |
Associative array of content set names to content set additions. |
XHTML 1.1 Forms module, defines all form-related elements found in HTML 4.
HTMLPurifier_HTMLModule_Forms::setup | ( | $ | config | ) |
Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available.
$config | Instance of HTMLPurifier_Config |
Reimplemented from HTMLPurifier_HTMLModule.
Definition at line 16 of file Forms.php.
References HTMLPurifier_HTMLModule::addElement(), and HTMLPurifier_HTMLModule::makeLookup().
HTMLPurifier_HTMLModule_Forms::setup | ( | $ | config | ) |
Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available.
$config | Instance of HTMLPurifier_Config |
Reimplemented from HTMLPurifier_HTMLModule.
Definition at line 12546 of file HTMLPurifier.standalone.php.
References HTMLPurifier_HTMLModule::addElement(), and HTMLPurifier_HTMLModule::makeLookup().
HTMLPurifier_HTMLModule_Forms::$content_sets |
array( 'Block' => 'Form', 'Inline' => 'Formctrl', )
Associative array of content set names to content set additions.
This is commonly used to, say, add an A element to the Inline content set. This corresponds to an internal variable $content_sets and NOT info_content_sets member variable of HTMLDefinition.
Reimplemented from HTMLPurifier_HTMLModule.
HTMLPurifier_HTMLModule_Forms::$name = 'Forms' |
Short unique string identifier of the module.
Reimplemented from HTMLPurifier_HTMLModule.
HTMLPurifier_HTMLModule_Forms::$safe = false |
Boolean flag whether or not this module is safe.
If it is not safe, all of its members are unsafe. Modules are safe by default (this might be slightly dangerous, but it doesn't make much sense to force HTML Purifier, which is based off of safe HTML, to explicitly say, "This is safe," even though there are modules which are "unsafe")
Reimplemented from HTMLPurifier_HTMLModule.