XOOPS 2.5.6
Final
|
Public Member Functions | |
__construct ($non_negative=false) | |
validate ($string, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
make ($string) | |
parseCDATA ($string) | |
validate ($string, $config, $context) | |
Protected Attributes | |
$number_def | |
Additional Inherited Members | |
Public Attributes inherited from HTMLPurifier_AttrDef | |
$minimized = false | |
$required = false | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
expandCSSEscape ($string) | |
mungeRgb ($string) | |
Validates a Percentage as defined by the CSS spec.
Definition at line 6 of file Percentage.php.
HTMLPurifier_AttrDef_CSS_Percentage::__construct | ( | $non_negative = false | ) |
Bool | indicating whether to forbid negative values |
Definition at line 17 of file Percentage.php.
HTMLPurifier_AttrDef_CSS_Percentage::validate | ( | $string, | |
$config, | |||
$context | |||
) |
Definition at line 21 of file Percentage.php.
References $config, and HTMLPurifier_AttrDef\parseCDATA().
|
protected |
Instance of HTMLPurifier_AttrDef_CSS_Number to defer number validation
Definition at line 12 of file Percentage.php.