Class HTMLPurifier_ChildDef_Optional
Inheritance | HTMLPurifier_ChildDef_Optional » HTMLPurifier_ChildDef_Required » HTMLPurifier_ChildDef |
---|
Definition that allows a set of elements, and allows no children.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$allow_empty | HTMLPurifier_ChildDef_Optional | ||
$elements | Lookup table of allowed elements. | HTMLPurifier_ChildDef_Required | |
$type | HTMLPurifier_ChildDef_Optional |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$whitespace | Whether or not the last passed node was all whitespace. | HTMLPurifier_ChildDef_Required |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | HTMLPurifier_ChildDef_Required | |
getAllowedElements() | Get lookup of tag names that should not close this element automatically. | HTMLPurifier_ChildDef |
validateChildren() | HTMLPurifier_ChildDef_Optional |
Property Details
Method Details
public array validateChildren ( $children, $config, $context ) | ||
$children | array | |
$config | HTMLPurifier_Config | |
$context | HTMLPurifier_Context |