|
HTMLPurifier 4.4.0
|
Validates a rel/rev link attribute against a directive of allowed values. More...
Public Member Functions | |
| __construct ($name) | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
| __construct ($name) | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
Protected Attributes | |
| $name | |
| Name config attribute to pull. | |
Validates a rel/rev link attribute against a directive of allowed values.
Definition at line 9 of file LinkTypes.php.
| HTMLPurifier_AttrDef_HTML_LinkTypes::__construct | ( | $ | name | ) |
Definition at line 15 of file LinkTypes.php.
References $name.
| HTMLPurifier_AttrDef_HTML_LinkTypes::__construct | ( | $ | name | ) |
Definition at line 10300 of file HTMLPurifier.standalone.php.
References $name.
| HTMLPurifier_AttrDef_HTML_LinkTypes::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 28 of file LinkTypes.php.
References $config, and HTMLPurifier_AttrDef::parseCDATA().
| HTMLPurifier_AttrDef_HTML_LinkTypes::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 10313 of file HTMLPurifier.standalone.php.
References $config, and HTMLPurifier_AttrDef::parseCDATA().
HTMLPurifier_AttrDef_HTML_LinkTypes::$name [protected] |
Name config attribute to pull.
Definition at line 13 of file LinkTypes.php.
Referenced by __construct().