HTMLPurifier_AttrDef_CSS_Multiple Klassenreferenz

Klassendiagramm für HTMLPurifier_AttrDef_CSS_Multiple:

Inheritance graph
[Legende]
Zusammengehörigkeiten von HTMLPurifier_AttrDef_CSS_Multiple:

Collaboration graph
[Legende]

Öffentliche Methoden

 __construct ($single, $max=4)
 validate ($string, $config, $context)

Datenfelder

 $single
 $max

Ausführliche Beschreibung

Framework class for strings that involve multiple values.

Certain CSS properties such as border-width and margin allow multiple lengths to be specified. This class can take a vanilla border-width definition and multiply it, usually into a max of four.

Zu beachten:
Even though the CSS specification isn't clear about it, inherit can only be used alone: it will never manifest as part of a multi shorthand declaration. Thus, this class does not allow inherit.

Definiert in Zeile 14 der Datei Multiple.php.


Beschreibung der Konstruktoren und Destruktoren

__construct ( single,
max = 4 
)

Parameter:
$single HTMLPurifier_AttrDef to multiply
$max Max number of values allowed (usually four)

Definiert in Zeile 33 der Datei Multiple.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.

Erneute Implementation von HTMLPurifier_AttrDef.

Definiert in Zeile 38 der Datei Multiple.php.

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


Dokumentation der Datenelemente

$max

Max number of values allowed.

Noch zu erledigen:
Make protected

Definiert in Zeile 27 der Datei Multiple.php.

$single

Instance of component definition to defer validation to.

Noch zu erledigen:
Make protected

Definiert in Zeile 21 der Datei Multiple.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