extends |
HTMLPurifier_AttrDef |
---|
Validates a URI as defined by RFC 3986.
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
__construct(bool $embeds_resource = false)
Parameters
Overriden by |
# | ||||||
public
|
make(string $string): HTMLPurifier_AttrDef_URI
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 |
# | ||||||
public
|
validate(string $uri, 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 |
# |
Methods inherited from HTMLPurifier_AttrDef |
---|
parseCDATA(), mungeRgb(), expandCSSEscape() |
Properties | |||
---|---|---|---|
protected
|
|
$parser
|
# |
protected
|
|
$embedsResource
|
# |
Properties inherited from HTMLPurifier_AttrDef |
---|
$minimized, $required |