Свойство | Type | Description | |
---|---|---|---|
$valid_values | Lookup table of valid values. |
Свойство | Type | Description | |
---|---|---|---|
$case_sensitive | Bool indicating whether or not enumeration is case sensitive. |
Méthode | Description | |
---|---|---|
__construct ( array $valid_values = [], boolean $case_sensitive = false ) | ||
make ( string $string ) : HTMLPurifier_AttrDef_Enum | ||
validate ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string |
public __construct ( array $valid_values = [], boolean $case_sensitive = false ) | ||
$valid_values | array | List of valid values |
$case_sensitive | boolean | Whether or not case sensitive |
protected $case_sensitive |