HTMLPurifier_AttrValidator Klassenreferenz


Öffentliche Methoden

 validateToken (&$token, &$config, $context)

Ausführliche Beschreibung

Validates the attributes of a token. Doesn't manage required attributes very well. The only reason we factored this out was because RemoveForeignElements also needed it besides ValidateAttributes.

Definiert in Zeile 8 der Datei AttrValidator.php.


Dokumentation der Elementfunktionen

validateToken ( &$  token,
&$  config,
context 
)

Validates the attributes of a token, returning a modified token that has valid tokens

Parameter:
$token Reference to token to validate. We require a reference because the operation this class performs on the token are not atomic, so the context CurrentToken to be updated throughout
$config Instance of HTMLPurifier_Config
$context Instance of HTMLPurifier_Context

Definiert in Zeile 21 der Datei AttrValidator.php.

Hier ist ein Graph der zeigt, was diese Funktion aufruft:


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