|
| $allow_empty |
| Indicates whether or not an empty array of children is okay.
|
|
| $block |
| Instance of the definition object to use when block.
|
|
| $elements = array() |
| Lookup array of all elements that this definition could possibly allow.
|
|
| $inline |
| Instance of the definition object to use when inline.
|
|
| $type = 'chameleon' |
| @type string
|
|
◆ __construct()
HTMLPurifier_ChildDef_Chameleon::__construct |
( |
| $inline, |
|
|
| $block ) |
- Parameters
-
array | $inline | List of elements to allow when inline. |
array | $block | List of elements to allow when block. |
◆ getAllowedElements()
HTMLPurifier_ChildDef::getAllowedElements |
( |
| $config | ) |
|
|
inherited |
◆ validateChildren()
HTMLPurifier_ChildDef_Chameleon::validateChildren |
( |
| $children, |
|
|
| $config, |
|
|
| $context ) |
◆ $allow_empty
HTMLPurifier_ChildDef::$allow_empty |
|
inherited |
Indicates whether or not an empty array of children is okay.
This is necessary for redundant checking when changes affecting a child node may cause a parent node to now be disallowed. @type bool
◆ $block
HTMLPurifier_ChildDef_Chameleon::$block |
◆ $elements
HTMLPurifier_ChildDef::$elements = array() |
|
inherited |
Lookup array of all elements that this definition could possibly allow.
@type array
◆ $inline
HTMLPurifier_ChildDef_Chameleon::$inline |
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/ChildDef/Chameleon.php