getAllowedElements() getAllowedElements(\HTMLPurifier_Config $config) : array Get lookup of tag names that should not close this element automatically. All other elements will do so. Parameters \HTMLPurifier_Config $config HTMLPurifier_Config object Returns array —
validateChildren() validateChildren(array $children, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : array Validates nodes according to definition and returns modification. Parameters array $children \HTMLPurifier_Config $config \HTMLPurifier_Context $context Returns array —
__construct() __construct(array|string $elements) : mixed Parameters array|string $elements List of allowed element names (lowercase). Returns mixed —