|
HTMLPurifier 4.4.0
|
Validates the HTML attribute lang, effectively a language code. More...
Public Member Functions | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
Validates the HTML attribute lang, effectively a language code.
| HTMLPurifier_AttrDef_Lang::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.
| HTMLPurifier_AttrDef_Lang::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 8446 of file HTMLPurifier.standalone.php.