HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_HTML_Class Class Reference

Implements special behavior for class attribute (normally NMTOKENS) More...

Inheritance diagram for HTMLPurifier_AttrDef_HTML_Class:
HTMLPurifier_AttrDef_HTML_Nmtokens HTMLPurifier_AttrDef_HTML_Nmtokens HTMLPurifier_AttrDef HTMLPurifier_AttrDef HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

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.

Detailed Description

Implements special behavior for class attribute (normally NMTOKENS)

Definition at line 6 of file Class.php.


Member Function Documentation

HTMLPurifier_AttrDef_HTML_Class::filter ( tokens,
config,
context 
) [protected]

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.

Reimplemented from HTMLPurifier_AttrDef_HTML_Nmtokens.

Definition at line 17 of file Class.php.

References $config.

HTMLPurifier_AttrDef_HTML_Class::filter ( tokens,
config,
context 
) [protected]

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.

Reimplemented from HTMLPurifier_AttrDef_HTML_Nmtokens.

Definition at line 10040 of file HTMLPurifier.standalone.php.

References $config.

HTMLPurifier_AttrDef_HTML_Class::split ( string,
config,
context 
) [protected]

Splits a space separated list of tokens into its constituent parts.

Reimplemented from HTMLPurifier_AttrDef_HTML_Nmtokens.

Definition at line 10031 of file HTMLPurifier.standalone.php.

References $config, and split().

HTMLPurifier_AttrDef_HTML_Class::split ( string,
config,
context 
) [protected]

Splits a space separated list of tokens into its constituent parts.

Reimplemented from HTMLPurifier_AttrDef_HTML_Nmtokens.

Definition at line 8 of file Class.php.

References $config.

Referenced by split().


The documentation for this class was generated from the following files: