Registry for retrieving specific URI scheme validator objects.
Methods | ||||
---|---|---|---|---|
public
static
|
instance(HTMLPurifier_URISchemeRegistry $prototype = null): HTMLPurifier_URISchemeRegistry
Retrieve sole instance of the registry.
Retrieve sole instance of the registry. Parameters
|
# | ||
public
|
getScheme(string $scheme, HTMLPurifier_Config $config, HTMLPurifier_Context $context): HTMLPurifier_URIScheme
Retrieves a scheme validator object
Retrieves a scheme validator object Parameters
|
# | ||
public
|
register(string $scheme, HTMLPurifier_URIScheme $scheme_obj)
Registers a custom scheme to the cache, bypassing reflection.
Registers a custom scheme to the cache, bypassing reflection. Parameters
|
# |
Properties | |||
---|---|---|---|
protected
|
|
$schemes = []
Cache of retrieved schemes.
Cache of retrieved schemes. |
# |