HTMLPurifier 4.4.0
|
Definition that disallows all elements. More...
Public Member Functions | |
__construct () | |
validateChildren ($tokens_of_children, $config, $context) | |
Validates nodes according to definition and returns modification. | |
__construct () | |
validateChildren ($tokens_of_children, $config, $context) | |
Validates nodes according to definition and returns modification. | |
Public Attributes | |
$allow_empty = true | |
Bool that indicates whether or not an empty array of children is okay. | |
$type = 'empty' | |
Type of child definition, usually right-most part of class name lowercase. |
Definition that disallows all elements.
HTMLPurifier_ChildDef_Empty::__construct | ( | ) |
Definition at line 11456 of file HTMLPurifier.standalone.php.
HTMLPurifier_ChildDef_Empty::validateChildren | ( | $ | tokens_of_children, |
$ | config, | ||
$ | context | ||
) |
Validates nodes according to definition and returns modification.
$tokens_of_children | Array of HTMLPurifier_Token |
$config | HTMLPurifier_Config object |
$context | HTMLPurifier_Context object |
Reimplemented from HTMLPurifier_ChildDef.
HTMLPurifier_ChildDef_Empty::validateChildren | ( | $ | tokens_of_children, |
$ | config, | ||
$ | context | ||
) |
Validates nodes according to definition and returns modification.
$tokens_of_children | Array of HTMLPurifier_Token |
$config | HTMLPurifier_Config object |
$context | HTMLPurifier_Context object |
Reimplemented from HTMLPurifier_ChildDef.
Definition at line 11457 of file HTMLPurifier.standalone.php.
HTMLPurifier_ChildDef_Empty::$allow_empty = true |
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.
Reimplemented from HTMLPurifier_ChildDef.
HTMLPurifier_ChildDef_Empty::$type = 'empty' |
Type of child definition, usually right-most part of class name lowercase.
Used occasionally in terms of context.
Reimplemented from HTMLPurifier_ChildDef.