Property | Type | Description | |
---|---|---|---|
$schemes | Cache of retrieved schemes. |
Method | Description | |
---|---|---|
getScheme ( string $scheme, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_URIScheme | Retrieves a scheme validator object | |
instance ( HTMLPurifier_URISchemeRegistry $prototype = null ) : HTMLPurifier_URISchemeRegistry | Retrieve sole instance of the registry. | |
register ( string $scheme, HTMLPurifier_URIScheme $scheme_obj ) | Registers a custom scheme to the cache, bypassing reflection. |
public static instance ( HTMLPurifier_URISchemeRegistry $prototype = null ) : HTMLPurifier_URISchemeRegistry | ||
$prototype | HTMLPurifier_URISchemeRegistry | Optional prototype to overload sole instance with, or bool true to reset to default registry. |
return | HTMLPurifier_URISchemeRegistry |