|
Cheetah
|
Public Member Functions | |
| getScheme ($scheme, $config, $context) | |
| register ($scheme, $scheme_obj) | |
Static Public Member Functions | |
| static | instance ($prototype=null) |
Protected Attributes | |
| $schemes = array() | |
Registry for retrieving specific URI scheme validator objects.
Definition at line 9546 of file HTMLPurifier.standalone.php.
| HTMLPurifier_URISchemeRegistry::getScheme | ( | $scheme, | |
| $config, | |||
| $context | |||
| ) |
Retrieves a scheme validator object
| string | $scheme | String scheme name like http or mailto |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Definition at line 9581 of file HTMLPurifier.standalone.php.
|
static |
Retrieve sole instance of the registry.
| HTMLPurifier_URISchemeRegistry | $prototype | Optional prototype to overload sole instance with, or bool true to reset to default registry. |
Definition at line 9557 of file HTMLPurifier.standalone.php.
| HTMLPurifier_URISchemeRegistry::register | ( | $scheme, | |
| $scheme_obj | |||
| ) |
Registers a custom scheme to the cache, bypassing reflection.
| string | $scheme | Scheme name |
| HTMLPurifier_URIScheme | $scheme_obj |
Definition at line 9615 of file HTMLPurifier.standalone.php.
|
protected |
Cache of retrieved schemes. @type HTMLPurifier_URIScheme[]
Definition at line 9572 of file HTMLPurifier.standalone.php.