Defines allowed child nodes and validates tokens against it.
Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 1257)
| Class | Description |
|---|---|
| HTMLPurifier_ChildDef_Chameleon | Definition that uses different definitions depending on context. |
| HTMLPurifier_ChildDef_Custom | Custom validation class, accepts DTD child definitions |
| HTMLPurifier_ChildDef_Empty | Definition that disallows all elements. |
| HTMLPurifier_ChildDef_Required | Definition that allows a set of elements, but disallows empty children. |
| HTMLPurifier_ChildDef_Table | Definition for tables |
Bool that 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.
Lookup array of all elements that this definition could possibly allow
Type of child definition, usually right-most part of class name lowercase.
Used occasionally in terms of context.
Get lookup of tag names that should not close this element automatically.
All other elements will do so.
Validates nodes according to definition and returns modification.
Documentation generated on Sun, 06 Mar 2011 00:24:01 -0500 by phpDocumentor 1.4.3