|
| getScheme ($scheme, $config, $context) |
| Retrieves a scheme validator object.
|
|
| register ($scheme, $scheme_obj) |
| Registers a custom scheme to the cache, bypassing reflection.
|
|
|
static | instance ($prototype=null) |
| Retrieve sole instance of the registry.
|
|
◆ getScheme()
HTMLPurifier_URISchemeRegistry::getScheme |
( |
| $scheme, |
|
|
| $config, |
|
|
| $context ) |
Retrieves a scheme validator object.
- Parameters
-
- Return values
-
◆ instance()
static HTMLPurifier_URISchemeRegistry::instance |
( |
| $prototype = null | ) |
|
|
static |
Retrieve sole instance of the registry.
- Parameters
-
- Return values
-
- Note
- Pass a registry object $prototype with a compatible interface and the function will copy it and return it all further times.
◆ register()
HTMLPurifier_URISchemeRegistry::register |
( |
| $scheme, |
|
|
| $scheme_obj ) |
Registers a custom scheme to the cache, bypassing reflection.
- Parameters
-
◆ $schemes
HTMLPurifier_URISchemeRegistry::$schemes = array() |
|
protected |
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/URISchemeRegistry.php