|
HTMLPurifier 4.4.0
|
Validates contents based on NMTOKENS attribute type. 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. | |
Protected Member Functions | |
| split ($string, $config, $context) | |
| Splits a space separated list of tokens into its constituent parts. | |
| filter ($tokens, $config, $context) | |
| Template method for removing certain tokens based on arbitrary criteria. | |
| split ($string, $config, $context) | |
| Splits a space separated list of tokens into its constituent parts. | |
| filter ($tokens, $config, $context) | |
| Template method for removing certain tokens based on arbitrary criteria. | |
Validates contents based on NMTOKENS attribute type.
Definition at line 6 of file Nmtokens.php.
| HTMLPurifier_AttrDef_HTML_Nmtokens::filter | ( | $ | tokens, |
| $ | config, | ||
| $ | context | ||
| ) | [protected] |
Template method for removing certain tokens based on arbitrary criteria.
Reimplemented in HTMLPurifier_AttrDef_HTML_Class, and HTMLPurifier_AttrDef_HTML_Class.
Definition at line 46 of file Nmtokens.php.
Referenced by validate().
| HTMLPurifier_AttrDef_HTML_Nmtokens::filter | ( | $ | tokens, |
| $ | config, | ||
| $ | context | ||
| ) | [protected] |
Template method for removing certain tokens based on arbitrary criteria.
Reimplemented in HTMLPurifier_AttrDef_HTML_Class, and HTMLPurifier_AttrDef_HTML_Class.
Definition at line 10016 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_HTML_Nmtokens::split | ( | $ | string, |
| $ | config, | ||
| $ | context | ||
| ) | [protected] |
Splits a space separated list of tokens into its constituent parts.
Reimplemented in HTMLPurifier_AttrDef_HTML_Class, and HTMLPurifier_AttrDef_HTML_Class.
Definition at line 9996 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_HTML_Nmtokens::split | ( | $ | string, |
| $ | config, | ||
| $ | context | ||
| ) | [protected] |
Splits a space separated list of tokens into its constituent parts.
Reimplemented in HTMLPurifier_AttrDef_HTML_Class, and HTMLPurifier_AttrDef_HTML_Class.
Definition at line 26 of file Nmtokens.php.
Referenced by validate().
| HTMLPurifier_AttrDef_HTML_Nmtokens::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 9979 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_HTML_Nmtokens::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 Nmtokens.php.