Öffentliche Methoden | |
getScheme ($scheme, $config, $context) | |
register ($scheme, $scheme_obj) | |
Öffentliche, statische Methoden | |
static | instance ($prototype=null) |
Geschützte Attribute | |
$schemes = array() | |
Registry for retrieving specific URI scheme validator objects.
Definiert in Zeile 6 der Datei URISchemeRegistry.php.
getScheme | ( | $scheme, | |
$config, | |||
$context | |||
) |
Retrieves a scheme validator object
string | $scheme | String scheme name like http or mailto |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Definiert in Zeile 41 der Datei URISchemeRegistry.php.
Benutzt HTMLPurifier_Config\createDefault().
|
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. |
Definiert in Zeile 17 der Datei URISchemeRegistry.php.
Wird benutzt von HTMLPurifier_URIDefinition\getDefaultScheme() und HTMLPurifier_URI\getSchemeObj().
register | ( | $scheme, | |
$scheme_obj | |||
) |
Registers a custom scheme to the cache, bypassing reflection.
string | $scheme | Scheme name |
HTMLPurifier_URIScheme | $scheme_obj |
Definiert in Zeile 75 der Datei URISchemeRegistry.php.
|
protected |
Cache of retrieved schemes. HTMLPurifier_URIScheme[]
Definiert in Zeile 32 der Datei URISchemeRegistry.php.