API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct ($non_negative=false) | |
validate ($number, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
validate ($string, $config, $context) | |
parseCDATA ($string) | |
make ($string) | |
Protected Attributes | |
$non_negative = false | |
Additional Inherited Members | |
Data Fields inherited from HTMLPurifier_AttrDef | |
$minimized = false | |
$required = false | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
mungeRgb ($string) | |
expandCSSEscape ($string) | |
Validates a number as defined by the CSS spec.
__construct | ( | $non_negative = false | ) |
bool | $non_negative | indicates whether negatives are forbidden |
validate | ( | $number, | |
$config, | |||
$context | |||
) |
string | $number | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
Reimplemented in HTMLPurifier_AttrDef_CSS_AlphaValue.
|
protected |
Indicates whether or not only positive values are allowed. @type bool