|
ILIAS
Release_5_0_x_branch Revision 61816
|
Registry for retrieving specific URI scheme validator objects. More...
Collaboration diagram for HTMLPurifier_URISchemeRegistry:Public Member Functions | |
| getScheme ($scheme, $config, $context) | |
| Retrieves a scheme validator object. | |
| register ($scheme, $scheme_obj) | |
| Registers a custom scheme to the cache, bypassing reflection. | |
Static Public Member Functions | |
| static | instance ($prototype=null) |
| Retrieve sole instance of the registry. | |
Protected Attributes | |
| $schemes = array() | |
| Cache of retrieved schemes. | |
Registry for retrieving specific URI scheme validator objects.
Definition at line 6 of file URISchemeRegistry.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 41 of file URISchemeRegistry.php.
References HTMLPurifier_Config\createDefault().
Here is the call graph for this function:
|
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 17 of file URISchemeRegistry.php.
Referenced by HTMLPurifier_URIDefinition\getDefaultScheme(), and HTMLPurifier_URI\getSchemeObj().
Here is the caller graph for this function:| 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 75 of file URISchemeRegistry.php.
|
protected |
Cache of retrieved schemes.
Definition at line 32 of file URISchemeRegistry.php.