XOOPS 2.5.6
Final
|
Public Member Functions | |
__construct ($valid_values=array(), $case_sensitive=false) | |
make ($string) | |
validate ($string, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
make ($string) | |
parseCDATA ($string) | |
validate ($string, $config, $context) | |
Public Attributes | |
$valid_values = array() | |
Public Attributes inherited from HTMLPurifier_AttrDef | |
$minimized = false | |
$required = false | |
Protected Attributes | |
$case_sensitive = false | |
Additional Inherited Members | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
expandCSSEscape ($string) | |
mungeRgb ($string) | |
Validates a keyword against a list of valid values.
HTMLPurifier_AttrDef_Enum::__construct | ( | $valid_values = array() , |
|
$case_sensitive = false |
|||
) |
$valid_values | List of valid values |
$case_sensitive | Bool indicating whether or not case sensitive |
Definition at line 29 of file Enum.php.
References $case_sensitive, and $valid_values.
HTMLPurifier_AttrDef_Enum::make | ( | $string | ) |
HTMLPurifier_AttrDef_Enum::validate | ( | $string, | |
$config, | |||
$context | |||
) |
|
protected |
Bool indicating whether or not enumeration is case sensitive.
Definition at line 23 of file Enum.php.
Referenced by __construct().
HTMLPurifier_AttrDef_Enum::$valid_values = array() |
Lookup table of valid values.
Definition at line 17 of file Enum.php.
Referenced by __construct().