|
Cheetah
|
Public Member Functions | |
| getAllowedElements ($config) | |
| validateChildren ($children, $config, $context) | |
Public Attributes | |
| $type | |
| $allow_empty | |
| $elements = array() | |
Defines allowed child nodes and validates nodes against it.
Definition at line 1742 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef::getAllowedElements | ( | $config | ) |
Get lookup of tag names that should not close this element automatically. All other elements will do so.
| HTMLPurifier_Config | $config | HTMLPurifier_Config object |
Reimplemented in HTMLPurifier_ChildDef_StrictBlockquote.
Definition at line 1772 of file HTMLPurifier.standalone.php.
|
abstract |
Validates nodes according to definition and returns modification.
| HTMLPurifier_Node[] | $children | Array of HTMLPurifier_Node |
| HTMLPurifier_Config | $config | HTMLPurifier_Config object |
| HTMLPurifier_Context | $context | HTMLPurifier_Context object |
Reimplemented in HTMLPurifier_ChildDef_Table, HTMLPurifier_ChildDef_StrictBlockquote, HTMLPurifier_ChildDef_Optional, HTMLPurifier_ChildDef_Required, HTMLPurifier_ChildDef_List, HTMLPurifier_ChildDef_Empty, HTMLPurifier_ChildDef_Custom, and HTMLPurifier_ChildDef_Chameleon.
| HTMLPurifier_ChildDef::$allow_empty |
Indicates whether or not an empty array of children is okay.
This is necessary for redundant checking when changes affecting a child node may cause a parent node to now be disallowed. @type bool
Definition at line 1758 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef::$elements = array() |
Lookup array of all elements that this definition could possibly allow. @type array
Definition at line 1764 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef::$type |
Type of child definition, usually right-most part of class name lowercase. Used occasionally in terms of context. @type string
Definition at line 1749 of file HTMLPurifier.standalone.php.