프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |