Свойство | Тип | Описание | |
---|---|---|---|
$valid_values | Lookup table of valid values. |
Свойство | Тип | Описание | |
---|---|---|---|
$case_sensitive | Bool indicating whether or not enumeration is case sensitive. |
Метод | Описание | |
---|---|---|
__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 |