![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|


Public Member Functions | |
| __construct ($valid_values=array(), $case_sensitive=false) | |
| validate ($string, $config, $context) | |
| make ($string) | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
| validate ($string, $config, $context) | |
| parseCDATA ($string) | |
| make ($string) | |
Data Fields | |
| $valid_values = array() | |
Data Fields inherited from HTMLPurifier_AttrDef | |
| $minimized = false | |
| $required = false | |
Protected Attributes | |
| $case_sensitive = false | |
Additional Inherited Members | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
| mungeRgb ($string) | |
| expandCSSEscape ($string) | |
Validates a keyword against a list of valid values.
| __construct | ( | $valid_values = array(), |
|
$case_sensitive = false |
|||
| ) |
| array | $valid_values | List of valid values |
| bool | $case_sensitive | Whether or not case sensitive |
| make | ( | $string | ) |
| string | $string | In form of comma-delimited list of case-insensitive valid values. Example: "foo,bar,baz". Prepend "s:" to make case sensitive |
Reimplemented from HTMLPurifier_AttrDef.
| validate | ( | $string, | |
| $config, | |||
| $context | |||
| ) |
| string | $string | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
Reimplemented in HTMLPurifier_AttrDef_HTML_FrameTarget.
|
protected |
Bool indicating whether or not enumeration is case sensitive.
| $valid_values = array() |
Lookup table of valid values. @type array