| ILIAS
    release_5-4 Revision v5.4.26-12-gabc799a52e6
    | 
Registry for retrieving specific URI scheme validator objects. More...
 Collaboration diagram for HTMLPurifier_URISchemeRegistry:
 Collaboration diagram for HTMLPurifier_URISchemeRegistry:| Public Member Functions | |
| getScheme ($scheme, $config, $context) | |
| Retrieves a scheme validator object.  More... | |
| register ($scheme, $scheme_obj) | |
| Registers a custom scheme to the cache, bypassing reflection.  More... | |
| Static Public Member Functions | |
| static | instance ($prototype=null) | 
| Retrieve sole instance of the registry.  More... | |
| Protected Attributes | |
| $schemes = array() | |
| Cache of retrieved schemes.  More... | |
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 $config, and HTMLPurifier_Config\createDefault().
 Here is the call graph for this function:
 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:
 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.
@type HTMLPurifier_URIScheme[]
Definition at line 32 of file URISchemeRegistry.php.