extends |
HTMLPurifier_AttrDef |
|---|
Represents a Length as defined by CSS.
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
public
|
__construct(HTMLPurifier_Length|string $min = null, HTMLPurifier_Length|string $max = null)
Parameters
|
# | ||||||
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 |
# | ||||||
| Methods inherited from HTMLPurifier_AttrDef |
|---|
parseCDATA(), make(), mungeRgb(), expandCSSEscape() |
| Properties | |||
|---|---|---|---|
protected
|
|
$min
|
# |
protected
|
|
$max
|
# |
| Properties inherited from HTMLPurifier_AttrDef |
|---|
$minimized, $required |