Class HTMLPurifier_AttrDef_CSS_AlphaValue
Validates a number as defined by the CSS spec.
-
HTMLPurifier_AttrDef
-
HTMLPurifier_AttrDef_CSS_Number
-
HTMLPurifier_AttrDef_CSS_AlphaValue
Methods summary
public
|
|
public
|
#
validate( $string $number, $config $config, $context $context )
Parameters
- $number
$string String to be validated and cleaned.
- $config
$config Mandatory HTMLPurifier_Config object.
- $context
$context Mandatory HTMLPurifier_AttrContext object.
Warning
Some contexts do not pass $config, $context. These variables should not be used
without checking HTMLPurifier_Length
Overrides
|