|
Cheetah
|
Public Member Functions | |
| __construct ($defs) | |
| validate ($string, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
| parseCDATA ($string) | |
| make ($string) | |
Public Attributes | |
| $defs | |
Public Attributes inherited from HTMLPurifier_AttrDef | |
| $minimized = false | |
| $required = false | |
Additional Inherited Members | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
| mungeRgb ($string) | |
| expandCSSEscape ($string) | |
Allows multiple validators to attempt to validate attribute.
Composite is just what it sounds like: a composite of many validators. This means that multiple HTMLPurifier_AttrDef objects will have a whack at the string. If one of them passes, that's what is returned. This is especially useful for CSS values, which often are a choice between an enumerated set of predefined values or a flexible data type.
Definition at line 11543 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_CSS_Composite::__construct | ( | $defs | ) |
| HTMLPurifier_AttrDef[] | $defs | List of HTMLPurifier_AttrDef objects |
Definition at line 11556 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_CSS_Composite::validate | ( | $string, | |
| $config, | |||
| $context | |||
| ) |
| string | $string | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 11567 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_CSS_Composite::$defs |
List of objects that may process strings. @type HTMLPurifier_AttrDef[]
Definition at line 11551 of file HTMLPurifier.standalone.php.