Class HTMLPurifier_ChildDef_Empty
Definition that disallows all elements.
- HTMLPurifier_ChildDef
- HTMLPurifier_ChildDef_Empty
Warning:
validateChildren() in this class is actually never called, because empty
elements are corrected in HTMLPurifier_Strategy_MakeWellFormed before child
definitions are parsed in earnest by HTMLPurifier_Strategy_FixNesting.
Located at xoops_trust_path/libs/htmlpurifier/library/HTMLPurifier/ChildDef/Empty.php
Located at xoops_trust_path/libs/htmlpurifier/library/HTMLPurifier/ChildDef/Empty.php
public
|
|
public
boolean
|
#
validateChildren( $tokens_of_children $tokens_of_children, $config $config, $context $context )
Validates nodes according to definition and returns modification. |
getAllowedElements()
|
public
boolean
|
$allow_empty | true |
#
Bool that indicates whether or not an empty array of children is okay |
public
string
|
$type | 'empty' |
#
Type of child definition, usually right-most part of class name lowercase. Used occasionally in terms of context. |
$elements
|