HTMLPurifier_ChildDef_Required Klassenreferenz

Klassendiagramm für HTMLPurifier_ChildDef_Required:

Inheritance graph
[Legende]
Zusammengehörigkeiten von HTMLPurifier_ChildDef_Required:

Collaboration graph
[Legende]

Öffentliche Methoden

 __construct ($elements)
 validateChildren ($tokens_of_children, $config, $context)

Datenfelder

 $elements = array()
 $allow_empty = false
 $type = 'required'

Geschützte Attribute

 $whitespace = false

Ausführliche Beschreibung

Definition that allows a set of elements, but disallows empty children.

Definiert in Zeile 6 der Datei Required.php.


Beschreibung der Konstruktoren und Destruktoren

__construct ( elements  ) 

Parameter:
$elements List of allowed element names (lowercase).

Definiert in Zeile 20 der Datei Required.php.


Dokumentation der Elementfunktionen

validateChildren ( tokens_of_children,
config,
context 
)

Validates nodes according to definition and returns modification.

Parameter:
$tokens_of_children Array of HTMLPurifier_Token
$config HTMLPurifier_Config object
$context HTMLPurifier_Context object
Rückgabe:
bool true to leave nodes as is

bool false to remove parent node

array of replacement child tokens

Erneute Implementation von HTMLPurifier_ChildDef.

Erneute Implementation in HTMLPurifier_ChildDef_Optional und HTMLPurifier_ChildDef_StrictBlockquote.

Definiert in Zeile 37 der Datei Required.php.


Dokumentation der Datenelemente

$allow_empty = false

Bool that 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.

Erneute Implementation von HTMLPurifier_ChildDef.

Erneute Implementation in HTMLPurifier_ChildDef_Optional und HTMLPurifier_ChildDef_StrictBlockquote.

Definiert in Zeile 35 der Datei Required.php.

$elements = array()

Lookup table of allowed elements.

Erneute Implementation von HTMLPurifier_ChildDef.

Definiert in Zeile 12 der Datei Required.php.

$type = 'required'

Type of child definition, usually right-most part of class name lowercase. Used occasionally in terms of context.

Erneute Implementation von HTMLPurifier_ChildDef.

Erneute Implementation in HTMLPurifier_ChildDef_Optional und HTMLPurifier_ChildDef_StrictBlockquote.

Definiert in Zeile 36 der Datei Required.php.

$whitespace = false [protected]

Whether or not the last passed node was all whitespace.

Definiert in Zeile 16 der Datei Required.php.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen