|
| $allow_empty = false |
| @type bool
|
|
| $elements = array() |
| Lookup table of allowed elements.
|
|
| $type = 'required' |
| @type string
|
|
|
| $whitespace = false |
| Whether or not the last passed node was all whitespace.
|
|
◆ __construct()
HTMLPurifier_ChildDef_Required::__construct |
( |
| $elements | ) |
|
- Parameters
-
array | string | $elements | List of allowed element names (lowercase). |
◆ getAllowedElements()
HTMLPurifier_ChildDef::getAllowedElements |
( |
| $config | ) |
|
|
inherited |
◆ validateChildren()
HTMLPurifier_ChildDef_Required::validateChildren |
( |
| $children, |
|
|
| $config, |
|
|
| $context ) |
◆ $elements
HTMLPurifier_ChildDef_Required::$elements = array() |
Lookup table of allowed elements.
@type array
◆ $whitespace
HTMLPurifier_ChildDef_Required::$whitespace = false |
|
protected |
Whether or not the last passed node was all whitespace.
@type bool
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/ChildDef/Required.php