Method |
Description |
|
__construct ( string $scheme, string $userinfo, string $host, integer $port, string $path, string $query, string $fragment ) |
|
|
getSchemeObj ( HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_URIScheme |
Retrieves a scheme object corresponding to the URI's scheme/default |
|
isBenign ( HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean |
Returns true if this URL should be considered a 'benign' URL,
that is: |
|
isLocal ( HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean |
Returns true if this URL might be considered a 'local' URL given
the current context. This is true when the host is null, or
when it matches the host supplied to the configuration. |
|
toString ( ) : string |
Convert URI back to string |
|
validate ( HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean |
Generic validation method applicable for all schemes. May modify
this URI in order to get it into a compliant form. |
|