HTMLPurifier_AttrDef_Integer Klassenreferenz

Klassendiagramm für HTMLPurifier_AttrDef_Integer:

Inheritance graph
[Legende]
Zusammengehörigkeiten von HTMLPurifier_AttrDef_Integer:

Collaboration graph
[Legende]

Öffentliche Methoden

 __construct ($negative=true, $zero=true, $positive=true)
 validate ($integer, $config, $context)

Geschützte Attribute

 $negative = true
 $zero = true
 $positive = true

Ausführliche Beschreibung

Validates an integer.
Zu beachten:
While this class was modeled off the CSS definition, no currently allowed CSS uses this type. The properties that do are: widows, orphans, z-index, counter-increment, counter-reset. Some of the HTML attributes, however, find use for a non-negative version of this.

Definiert in Zeile 10 der Datei Integer.php.


Beschreibung der Konstruktoren und Destruktoren

__construct ( negative = true,
zero = true,
positive = true 
)

Parameter:
$negative Bool indicating whether or not negative values are allowed
$zero Bool indicating whether or not zero is allowed
$positive Bool indicating whether or not positive values are allowed

Definiert in Zeile 33 der Datei Integer.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 41 der Datei Integer.php.

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


Dokumentation der Datenelemente

$negative = true [protected]

Bool indicating whether or not negative values are allowed

Definiert in Zeile 16 der Datei Integer.php.

$positive = true [protected]

Bool indicating whether or not positive values are allowed

Definiert in Zeile 26 der Datei Integer.php.

$zero = true [protected]

Bool indicating whether or not zero is allowed

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