|
HTMLPurifier 4.4.0
|
Validates a URI in CSS syntax, which uses url('http://example.com') More...
Public Member Functions | |
| __construct () | |
| validate ($uri_string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
| __construct () | |
| validate ($uri_string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
Validates a URI in CSS syntax, which uses url('http://example.com')
| HTMLPurifier_AttrDef_CSS_URI::__construct | ( | ) |
Definition at line 15 of file URI.php.
Referenced by __construct().
| HTMLPurifier_AttrDef_CSS_URI::__construct | ( | ) |
Definition at line 9894 of file HTMLPurifier.standalone.php.
References __construct().
| HTMLPurifier_AttrDef_CSS_URI::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_URI.
Definition at line 19 of file URI.php.
References $config, HTMLPurifier_AttrDef::expandCSSEscape(), and HTMLPurifier_AttrDef::parseCDATA().
Referenced by validate().
| HTMLPurifier_AttrDef_CSS_URI::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_URI.
Definition at line 9898 of file HTMLPurifier.standalone.php.
References $config, HTMLPurifier_AttrDef::expandCSSEscape(), HTMLPurifier_AttrDef::parseCDATA(), and validate().