HTMLPurifier_AttrDef_HTML_Nmtokens Class Reference

Validates contents based on NMTOKENS attribute type. More...

List of all members.

Public Member Functions

 validate ($string, $config, $context)
 validate ($string, $config, $context)


Detailed Description

Validates contents based on NMTOKENS attribute type.

Note:
The only current use for this is the class attribute in HTML

Could have some functionality factored out into Nmtoken class

Warning:
We cannot assume this class will be used only for 'class' attributes. Not sure how to hook in magic behavior, then.

Definition at line 10 of file Nmtokens.php.


Member Function Documentation

HTMLPurifier_AttrDef_HTML_Nmtokens::validate ( string,
config,
context 
)

Definition at line 13 of file Nmtokens.php.

HTMLPurifier_AttrDef_HTML_Nmtokens::validate ( string,
config,
context 
)

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


The documentation for this class was generated from the following files:
Generated on Thu Jun 19 18:47:28 2008 for HTMLPurifier by  doxygen 1.5.3