|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Definition that allows a set of elements, but disallows empty children. More...
Inheritance diagram for HTMLPurifier_ChildDef_Required:
Collaboration diagram for HTMLPurifier_ChildDef_Required:Public Member Functions | |
| __construct ($elements) | |
| validateChildren ($children, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_ChildDef | |
| getAllowedElements ($config) | |
| Get lookup of tag names that should not close this element automatically. More... | |
| validateChildren ($children, $config, $context) | |
| Validates nodes according to definition and returns modification. More... | |
Data Fields | |
| $elements = array() | |
| Lookup table of allowed elements. More... | |
| $allow_empty = false | |
| @type bool More... | |
| $type = 'required' | |
| @type string More... | |
Data Fields inherited from HTMLPurifier_ChildDef | |
| $type | |
| Type of child definition, usually right-most part of class name lowercase. More... | |
| $allow_empty | |
| Indicates whether or not an empty array of children is okay. More... | |
| $elements = array() | |
| Lookup array of all elements that this definition could possibly allow. More... | |
Protected Attributes | |
| $whitespace = false | |
| Whether or not the last passed node was all whitespace. More... | |
Definition that allows a set of elements, but disallows empty children.
Definition at line 6 of file Required.php.
| HTMLPurifier_ChildDef_Required::__construct | ( | $elements | ) |
| array | string | $elements | List of allowed element names (lowercase). |
Definition at line 23 of file Required.php.
References $elements.
| HTMLPurifier_ChildDef_Required::validateChildren | ( | $children, | |
| $config, | |||
| $context | |||
| ) |
| array | $children | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_ChildDef.
Reimplemented in HTMLPurifier_ChildDef_Optional, and HTMLPurifier_ChildDef_StrictBlockquote.
Definition at line 58 of file Required.php.
References $result.
| HTMLPurifier_ChildDef_Required::$allow_empty = false |
@type bool
Definition at line 45 of file Required.php.
| HTMLPurifier_ChildDef_Required::$elements = array() |
Lookup table of allowed elements.
@type array
Definition at line 12 of file Required.php.
Referenced by __construct(), and HTMLPurifier_ChildDef_StrictBlockquote\init().
| HTMLPurifier_ChildDef_Required::$type = 'required' |
@type string
Definition at line 50 of file Required.php.
|
protected |
Whether or not the last passed node was all whitespace.
@type bool
Definition at line 18 of file Required.php.