Class HTMLPurifier_AttrDef_HTML_Class
Implements special behavior for class attribute (normally NMTOKENS)
-
HTMLPurifier_AttrDef
-
HTMLPurifier_AttrDef_HTML_Nmtokens
-
HTMLPurifier_AttrDef_HTML_Class
Methods summary
protected
|
#
split( $string, $config, $context )
Splits a space separated list of tokens into its constituent parts.
Splits a space separated list of tokens into its constituent parts.
Overrides
|
protected
|
#
filter( $tokens, $config, $context )
Template method for removing certain tokens based on arbitrary criteria.
Template method for removing certain tokens based on arbitrary criteria.
Note
If we wanted to be really functional, we'd do an array_filter with a callback.
But... we're not.
Overrides
|