extends |
HTMLPurifier_AttrDef |
|---|
Validates an integer representation of pixels according to the HTML spec.
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
public
|
__construct(int $max = null)
|
# | ||||||
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
Overriden byImplements |
# | ||||||
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
|
|
$max
|
# |
| Properties inherited from HTMLPurifier_AttrDef |
|---|
$minimized, $required |