Property | Type | Description | |
---|---|---|---|
$allow_empty | |||
$elements | Lookup table of allowed elements. | ||
$type |
Property | Type | Description | |
---|---|---|---|
$whitespace | Whether or not the last passed node was all whitespace. |
Method | Description | |
---|---|---|
__construct ( array | string $elements ) | ||
validateChildren ( array $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array |
public __construct ( array | string $elements ) | ||
$elements | array | string | List of allowed element names (lowercase). |
public validateChildren ( array $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array | ||
$children | array | |
$config | HTMLPurifier_Config | |
$context | HTMLPurifier_Context | |
return | array |