|
HTMLPurifier 4.4.0
|
Validates shorthand CSS property background. More...
Public Member Functions | |
| __construct ($config) | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
| __construct ($config) | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
Protected Attributes | |
| $info | |
| Local copy of component validators. | |
Validates shorthand CSS property background.
Definition at line 7 of file Background.php.
| HTMLPurifier_AttrDef_CSS_Background::__construct | ( | $ | config | ) |
Definition at line 16 of file Background.php.
| HTMLPurifier_AttrDef_CSS_Background::__construct | ( | $ | config | ) |
Definition at line 8747 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_CSS_Background::validate | ( | $ | string, |
| $ | config, | ||
| $ | context | ||
| ) |
Validates and cleans passed string according to a definition.
| $string | String to be validated and cleaned. |
| $config | Mandatory HTMLPurifier_Config object. |
| $context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 25 of file Background.php.
References $config, HTMLPurifier_AttrDef::mungeRgb(), and HTMLPurifier_AttrDef::parseCDATA().
Referenced by validate().
| HTMLPurifier_AttrDef_CSS_Background::validate | ( | $ | string, |
| $ | config, | ||
| $ | context | ||
| ) |
Validates and cleans passed string according to a definition.
| $string | String to be validated and cleaned. |
| $config | Mandatory HTMLPurifier_Config object. |
| $context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 8756 of file HTMLPurifier.standalone.php.
References $config, HTMLPurifier_AttrDef::mungeRgb(), HTMLPurifier_AttrDef::parseCDATA(), and validate().
HTMLPurifier_AttrDef_CSS_Background::$info [protected] |
Local copy of component validators.
Definition at line 14 of file Background.php.