extends |
HTMLPurifier_AttrDef |
---|
Decorator which enables CSS properties to be disabled for specific elements.
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
__construct(HTMLPurifier_AttrDef $def, string $element)
Parameters
|
# | ||||||
public
|
validate(string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context): bool|string
Checks if CurrentToken is set and equal to $this->element
Checks if CurrentToken is set and equal to $this->element Parameters
Implements |
# |
Methods inherited from HTMLPurifier_AttrDef |
---|
parseCDATA(), make(), mungeRgb(), expandCSSEscape() |
Properties | |||
---|---|---|---|
public
|
|
$def
|
# |
public
|
|
$element
|
# |
Properties inherited from HTMLPurifier_AttrDef |
---|
$minimized, $required |