API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
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.
getScheme | ( | $scheme, | |
$config, | |||
$context | |||
) |
Retrieves a scheme validator object
string | $scheme | String scheme name like http or mailto |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
|
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. |
register | ( | $scheme, | |
$scheme_obj | |||
) |
Registers a custom scheme to the cache, bypassing reflection.
string | $scheme | Scheme name |
HTMLPurifier_URIScheme | $scheme_obj |
|
protected |
Cache of retrieved schemes. @type HTMLPurifier_URIScheme[]