Class HTMLPurifier_URI
HTML Purifier's internal representation of a URI.
Note:
Internal data-structures are completely escaped. If the data needs to be used in
a non-URI context (which is very unlikely), be sure to decode it first. The URI
may not necessarily be well-formed until validate() is called.
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
public
|
#
__construct( string $scheme, string $userinfo, string $host, integer $port, string $path, string $query, string $fragment )
|
public
|
#
getSchemeObj(
Retrieves a scheme object corresponding to the URI's scheme/default |
public
boolean
|
#
validate(
Generic validation method applicable for all schemes. May modify this URI in order to get it into a compliant form. |
public
string
|
|
public
boolean
|
#
isLocal(
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. |
public
boolean
|
#
isBenign(
Returns true if this URL should be considered a 'benign' URL, that is: |
public
mixed
|
$scheme |
|
|
public
mixed
|
$userinfo |
|
|
public
mixed
|
$host |
|
|
public
mixed
|
$port |
|
|
public
mixed
|
$path |
|
|
public
mixed
|
$query |
|
|
public
mixed
|
$fragment |
|