HTMLPurifier_AttrDef_Switch Klassenreferenz


Öffentliche Methoden

 __construct ($tag, $with_tag, $without_tag)
 validate ($string, $config, $context)

Geschützte Attribute

 $tag
 $withTag
 $withoutTag

Ausführliche Beschreibung

Decorator that, depending on a token, switches between two definitions.

Definiert in Zeile 6 der Datei Switch.php.


Beschreibung der Konstruktoren und Destruktoren

__construct ( tag,
with_tag,
without_tag 
)

Parameter:
string $tag Tag name to switch upon
HTMLPurifier_AttrDef $with_tag Call if token matches tag
HTMLPurifier_AttrDef $without_tag Call if token doesn't match, or there is no token

Definiert in Zeile 17 der Datei Switch.php.


Dokumentation der Elementfunktionen

validate ( string,
config,
context 
)

Definiert in Zeile 23 der Datei Switch.php.


Dokumentation der Datenelemente

$tag [protected]

Definiert in Zeile 9 der Datei Switch.php.

$withoutTag [protected]

Definiert in Zeile 10 der Datei Switch.php.

$withTag [protected]

Definiert in Zeile 10 der Datei Switch.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