Class HTMLPurifier_ChildDef
Defines allowed child nodes and validates nodes against it.
Direct known subclasses
HTMLPurifier_ChildDef_Chameleon, HTMLPurifier_ChildDef_Custom, HTMLPurifier_ChildDef_Empty, HTMLPurifier_ChildDef_List, HTMLPurifier_ChildDef_Required, HTMLPurifier_ChildDef_Table
public
array
|
#
getAllowedElements(
Get lookup of tag names that should not close this element automatically. All other elements will do so. |
abstract public
boolean|array
|
#
validateChildren(
Validates nodes according to definition and returns modification. |
public
mixed
|
$type |
|
#
Type of child definition, usually right-most part of class name lowercase. Used occasionally in terms of context. |
public
mixed
|
$allow_empty |
|
#
Indicates whether or not an empty array of children is okay. |
public
array
|
$elements | array() |
#
Lookup array of all elements that this definition could possibly allow. |