Öffentliche Methoden | |
__construct ($elements) | |
validateChildren ($children, $config, $context) | |
![]() | |
getAllowedElements ($config) | |
validateChildren ($children, $config, $context) | |
Datenfelder | |
$elements = array() | |
$allow_empty = false | |
$type = 'required' | |
![]() | |
$type | |
$allow_empty | |
$elements = array() | |
Geschützte Attribute | |
$whitespace = false | |
Definition that allows a set of elements, but disallows empty children.
Definiert in Zeile 6 der Datei Required.php.
__construct | ( | $elements) |
array | string | $elements | List of allowed element names (lowercase). |
Definiert in Zeile 23 der Datei Required.php.
Benutzt $elements.
validateChildren | ( | $children, | |
$config, | |||
$context | |||
) |
array | $children | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Definiert in Zeile 58 der Datei Required.php.
$allow_empty = false |
bool
Definiert in Zeile 45 der Datei Required.php.
$elements = array() |
Lookup table of allowed elements. array
Definiert in Zeile 12 der Datei Required.php.
Wird benutzt von __construct() und HTMLPurifier_ChildDef_StrictBlockquote\init().
$type = 'required' |
string
Definiert in Zeile 50 der Datei Required.php.
|
protected |
Whether or not the last passed node was all whitespace. bool
Definiert in Zeile 18 der Datei Required.php.