
Public Member Functions | ||||
| __construct ($valid_values=array(), $case_sensitive=false) | ||||
| ||||
| validate ($string, $config, $context) | ||||
| make ($string) | ||||
| ||||
| __construct ($valid_values=array(), $case_sensitive=false) | ||||
| ||||
| validate ($string, $config, $context) | ||||
| make ($string) | ||||
| ||||
Public Attributes | ||||
| $valid_values = array() | ||||
| Lookup table of valid values. | ||||
Protected Attributes | ||||
| $case_sensitive = false | ||||
| Bool indicating whether or not enumeration is case sensitive. | ||||
Definition at line 10 of file Enum.php.
| 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::__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 7074 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_Enum::validate | ( | $ | string, | |
| $ | config, | |||
| $ | context | |||
| ) |
Reimplemented in HTMLPurifier_AttrDef_HTML_FrameTarget, and HTMLPurifier_AttrDef_HTML_FrameTarget.
| HTMLPurifier_AttrDef_Enum::make | ( | $ | string | ) |
| HTMLPurifier_AttrDef_Enum::validate | ( | $ | string, | |
| $ | config, | |||
| $ | context | |||
| ) |
Reimplemented in HTMLPurifier_AttrDef_HTML_FrameTarget, and HTMLPurifier_AttrDef_HTML_FrameTarget.
Definition at line 7081 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_Enum::make | ( | $ | string | ) |
| $string | In form of comma-delimited list of case-insensitive valid values. |
Example: "foo,bar,baz". Prepend "s:" to make case sensitive
Definition at line 7097 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrDef_Enum::$valid_values = array() |
Lookup table of valid values.
Reimplemented in HTMLPurifier_AttrDef_HTML_FrameTarget.
Definition at line 17 of file Enum.php.
Referenced by __construct().
HTMLPurifier_AttrDef_Enum::$case_sensitive = false [protected] |
Bool indicating whether or not enumeration is case sensitive.
Reimplemented in HTMLPurifier_AttrDef_HTML_FrameTarget.
Definition at line 23 of file Enum.php.
Referenced by __construct().
1.5.3