$type
$type
Type of child definition, usually right-most part of class name lowercase.
Used occasionally in terms of context.
Defines allowed child nodes and validates nodes against it.
validateChildren(\HTMLPurifier_Node[] $children, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : bool|array
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 |
true to leave nodes as is, false to remove parent node, array of replacement children