Class HTMLPurifier_AttrDef_CSS_Length
Represents a Length as defined by CSS.
-
HTMLPurifier_AttrDef
-
HTMLPurifier_AttrDef_CSS_Length
Methods summary
public
|
|
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.
|
Properties summary
protected
|
$min
|
|
|
protected
|
$max
|
|
|