$type
$type :
Type of child definition, usually right-most part of class name lowercase.
Used occasionally in terms of context.
Definition that uses different definitions depending on context.
The del and ins tags are notable because they allow different types of elements depending on whether or not they're in a block or inline context. Chameleon allows this behavior to happen by using two different definitions depending on context. While this somewhat generalized, it is specifically intended for those two tags.
getAllowedElements(\HTMLPurifier_Config $config) : array
Get lookup of tag names that should not close this element automatically.
All other elements will do so.
| \HTMLPurifier_Config | $config | HTMLPurifier_Config object |
validateChildren(array<mixed,\HTMLPurifier_Node> $children, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : boolean
Validates nodes according to definition and returns modification.
| array<mixed,\HTMLPurifier_Node> | $children | Array of HTMLPurifier_Node |
| \HTMLPurifier_Config | $config | HTMLPurifier_Config object |
| \HTMLPurifier_Context | $context | HTMLPurifier_Context object |