extends |
HTMLPurifier_AttrDef |
|---|
Dummy AttrDef that mimics another AttrDef, BUT it generates clones with make.
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
public
|
__construct(HTMLPurifier_AttrDef $clone)
|
# | ||||||
public
|
validate(string $v, 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
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
|
|
$clone
What we're cloning.
What we're cloning. |
# |
| Properties inherited from HTMLPurifier_AttrDef |
|---|
$minimized, $required |