HTMLPurifier 4.4.0
|
Definition for list containers ul and ol. More...
Public Member Functions | |
validateChildren ($tokens_of_children, $config, $context) | |
Validates nodes according to definition and returns modification. | |
validateChildren ($tokens_of_children, $config, $context) | |
Validates nodes according to definition and returns modification. | |
Public Attributes | |
$type = 'list' | |
Type of child definition, usually right-most part of class name lowercase. | |
$elements = array('li' => true, 'ul' => true, 'ol' => true) | |
Lookup array of all elements that this definition could possibly allow. |
HTMLPurifier_ChildDef_List::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_List::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 11475 of file HTMLPurifier.standalone.php.
HTMLPurifier_ChildDef_List::$elements = array('li' => true, 'ul' => true, 'ol' => true) |
Lookup array of all elements that this definition could possibly allow.
Reimplemented from HTMLPurifier_ChildDef.
HTMLPurifier_ChildDef_List::$type = 'list' |
Type of child definition, usually right-most part of class name lowercase.
Used occasionally in terms of context.
Reimplemented from HTMLPurifier_ChildDef.