|
Cheetah
|
Public Member Functions | |
| __construct ($non_negative=false) | |
| validate ($number, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
| parseCDATA ($string) | |
| make ($string) | |
Protected Attributes | |
| $non_negative = false | |
Additional Inherited Members | |
Public Attributes 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.
Definition at line 10928 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_CSS_Number::__construct | ( | $non_negative = false | ) |
| bool | $non_negative | indicates whether negatives are forbidden |
Definition at line 10940 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_CSS_Number::validate | ( | $number, | |
| $config, | |||
| $context | |||
| ) |
| string | $number | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
Reimplemented in HTMLPurifier_AttrDef_CSS_AlphaValue.
Definition at line 10953 of file HTMLPurifier.standalone.php.
|
protected |
Indicates whether or not only positive values are allowed. @type bool
Definition at line 10935 of file HTMLPurifier.standalone.php.