extends |
HTMLPurifier_AttrDef |
|---|
Validates a boolean attribute
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
public
|
__construct(bool|string $name = false)
|
# | ||||||
public
|
validate(string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context): bool|string
Validates and cleans passed string according to a definition.
Validates and cleans passed string according to a definition. Parameters
Implements |
# | ||||||
public
|
make(string $string): HTMLPurifier_AttrDef_HTML_Bool
Factory method for creating this class from a string.
Factory method for creating this class from a string. Parameters
ReturnsCreated AttrDef object corresponding to $string Overrides |
# | ||||||
| Methods inherited from HTMLPurifier_AttrDef |
|---|
parseCDATA(), mungeRgb(), expandCSSEscape() |
| Properties | |||
|---|---|---|---|
protected
|
|
$name
|
# |
public
|
|
$minimized = true
|
# |
| Properties inherited from HTMLPurifier_AttrDef |
|---|
$required |