|
| | setup ($config) |
| |
| | getChildDef ($def) |
| | Retrieves a proper HTMLPurifier_ChildDef subclass based on content_model and content_model_type member variables of the HTMLPurifier_ElementDef class. More...
|
| |
| | addElement ($element, $type, $contents, $attr_includes=array(), $attr=array()) |
| | Convenience function that sets up a new element. More...
|
| |
| | addBlankElement ($element) |
| | Convenience function that creates a totally blank, non-standalone element. More...
|
| |
| | addElementToContentSet ($element, $type) |
| | Convenience function that registers an element to a content set. More...
|
| |
| | parseContents ($contents) |
| | Convenience function that transforms single-string contents into separate content model and content model type. More...
|
| |
| | mergeInAttrIncludes (&$attr, $attr_includes) |
| | Convenience function that merges a list of attribute includes into an attribute array. More...
|
| |
| | makeLookup ($list) |
| | Convenience function that generates a lookup table with boolean true as value. More...
|
| |
| | 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. More...
|
| |
Definition at line 3 of file Name.php.
◆ setup()
| HTMLPurifier_HTMLModule_Name::setup |
( |
|
$config | ) |
|
Definition at line 8 of file Name.php.
References HTMLPurifier_HTMLModule\$elements, $name, and HTMLPurifier_HTMLModule\addBlankElement().
9 $elements = array(
'a',
'applet',
'form',
'frame',
'iframe',
'img',
'map');
12 $element->attr[
'name'] =
'CDATA';
13 if (!$config->get(
'HTML.Attr.Name.UseCDATA')) {
addBlankElement($element)
Convenience function that creates a totally blank, non-standalone element.
$elements
Informally, a list of elements this module changes.
◆ $name
| HTMLPurifier_HTMLModule_Name::$name = 'Name' |
The documentation for this class was generated from the following file:
- Services/Html/HtmlPurifier/library/HTMLPurifier/HTMLModule/Name.php