Class HTMLPurifier_AttrDef_CSS_Font
Validates shorthand CSS property font.
-
HTMLPurifier_AttrDef
-
HTMLPurifier_AttrDef_CSS_Font
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
array
|
$info
|
array() |
#
Local copy of component validators.
Local copy of component validators.
Note
If we moved specific CSS property definitions to their own classes instead of
having them be assembled at run time by CSSDefinition, this wouldn't be
necessary. We'd instantiate our own copies.
|