|
HTMLPurifier 4.4.0
|
Validates Color as defined by CSS. More...
Public Member Functions | |
| validate ($color, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
| validate ($color, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
| HTMLPurifier_AttrDef_CSS_Color::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 9 of file Color.php.
References $config.
| HTMLPurifier_AttrDef_CSS_Color::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 9006 of file HTMLPurifier.standalone.php.
References $config.