Class HTMLPurifier_AttrDef_HTML_MultiLength
Validates a MultiLength as defined by the HTML spec.
A multilength is either a integer (pixel count), a percentage, or a relative
number.
-
HTMLPurifier_AttrDef
-
HTMLPurifier_AttrDef_HTML_Pixels
-
HTMLPurifier_AttrDef_HTML_Length
-
HTMLPurifier_AttrDef_HTML_MultiLength
Methods summary
public
|
#
validate( $string $string, $config $config, $context $context )
Validates and cleans passed string according to a definition.
Validates and cleans passed string according to a definition.
Parameters
- $string
$string String to be validated and cleaned.
- $config
$config Mandatory HTMLPurifier_Config object.
- $context
$context Mandatory HTMLPurifier_AttrContext object.
Overrides
|