HTMLPurifier_AttrDef_CSS Klassenreferenz

Klassendiagramm für HTMLPurifier_AttrDef_CSS:

Inheritance graph
[Legende]
Zusammengehörigkeiten von HTMLPurifier_AttrDef_CSS:

Collaboration graph
[Legende]

Öffentliche Methoden

 validate ($css, $config, $context)

Ausführliche Beschreibung

Validates the HTML attribute style, otherwise known as CSS.
Zu beachten:
We don't implement the whole CSS specification, so it might be difficult to reuse this component in the context of validating actual stylesheet declarations.

If we were really serious about validating the CSS, we would tokenize the styles and then parse the tokens. Obviously, we are not doing that. Doing that could seriously harm performance, but would make these components a lot more viable for a CSS filtering solution.

Definiert in Zeile 14 der Datei CSS.php.


Dokumentation der Elementfunktionen

validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameter:
$string String to be validated and cleaned.
$config Mandatory HTMLPurifier_Config object.
$context Mandatory HTMLPurifier_AttrContext object.

Name of the current CSS property being validated.

Erneute Implementation von HTMLPurifier_AttrDef.

Definiert in Zeile 17 der Datei CSS.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