HTMLPurifier_ChildDef Klassenreferenz

Klassendiagramm für HTMLPurifier_ChildDef:

Inheritance graph
[Legende]

Öffentliche Methoden

 getAllowedElements ($config)
 validateChildren ($tokens_of_children, $config, $context)

Datenfelder

 $type
 $allow_empty
 $elements = array()

Ausführliche Beschreibung

Defines allowed child nodes and validates tokens against it.

Definiert in Zeile 6 der Datei ChildDef.php.


Dokumentation der Elementfunktionen

getAllowedElements ( config  ) 

Get lookup of tag names that should not close this element automatically. All other elements will do so.

Erneute Implementation in HTMLPurifier_ChildDef_StrictBlockquote.

Definiert in Zeile 31 der Datei ChildDef.php.

validateChildren ( tokens_of_children,
config,
context 
) [abstract]

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 in HTMLPurifier_ChildDef_Chameleon, HTMLPurifier_ChildDef_Custom, HTMLPurifier_ChildDef_Empty, HTMLPurifier_ChildDef_Optional, HTMLPurifier_ChildDef_Required, HTMLPurifier_ChildDef_StrictBlockquote und HTMLPurifier_ChildDef_Table.


Dokumentation der Datenelemente

$allow_empty

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 in HTMLPurifier_ChildDef_Custom, HTMLPurifier_ChildDef_Empty, HTMLPurifier_ChildDef_Optional, HTMLPurifier_ChildDef_Required, HTMLPurifier_ChildDef_StrictBlockquote und HTMLPurifier_ChildDef_Table.

Definiert in Zeile 20 der Datei ChildDef.php.

$elements = array()

Lookup array of all elements that this definition could possibly allow

Erneute Implementation in HTMLPurifier_ChildDef_Required und HTMLPurifier_ChildDef_Table.

Definiert in Zeile 25 der Datei ChildDef.php.

$type

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

Erneute Implementation in HTMLPurifier_ChildDef_Chameleon, HTMLPurifier_ChildDef_Custom, HTMLPurifier_ChildDef_Empty, HTMLPurifier_ChildDef_Optional, HTMLPurifier_ChildDef_Required, HTMLPurifier_ChildDef_StrictBlockquote und HTMLPurifier_ChildDef_Table.

Definiert in Zeile 12 der Datei ChildDef.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