Öffentliche Methoden | |
getAllowedElements ($config) | |
validateChildren ($children, $config, $context) | |
Datenfelder | |
$type | |
$allow_empty | |
$elements = array() | |
Defines allowed child nodes and validates nodes against it.
Definiert in Zeile 6 der Datei ChildDef.php.
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 |
Definiert in Zeile 36 der Datei ChildDef.php.
Benutzt $elements.
|
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 |
$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. bool
Definiert in Zeile 22 der Datei ChildDef.php.
$elements = array() |
Lookup array of all elements that this definition could possibly allow. array
Definiert in Zeile 28 der Datei ChildDef.php.
Wird benutzt von getAllowedElements().
$type |
Type of child definition, usually right-most part of class name lowercase. Used occasionally in terms of context. string
Definiert in Zeile 13 der Datei ChildDef.php.