Method |
Description |
|
__construct ( $url = NULL ) |
|
|
__toString ( ) : string |
|
|
appendQuery ( $value ) : self |
Appends the query part of URI. |
|
canonicalize ( ) : self |
Transforms URL to canonical form. |
|
getAbsoluteUrl ( ) : string |
Returns the entire URI including query string and fragment. |
|
getAuthority ( ) : string |
Returns the [user[:pass]@]host[:port] part of URI. |
|
getBasePath ( ) : string |
Returns the base-path. |
|
getBaseUrl ( ) : string |
Returns the base-URI. |
|
getFragment ( ) : string |
Returns the fragment part of URI. |
|
getHost ( ) : string |
Returns the host part of URI. |
|
getHostUrl ( ) : string |
Returns the scheme and authority part of URI. |
|
getPassword ( ) : string |
Returns the password part of URI. |
|
getPath ( ) : string |
Returns the path part of URI. |
|
getPort ( ) : integer | null |
Returns the port part of URI. |
|
getQuery ( ) : string |
Returns the query part of URI. |
|
getQueryParameter ( $name, $default = NULL ) : mixed |
|
|
getQueryParameters ( ) : array |
|
|
getRelativeUrl ( ) : string |
Returns the relative-URI. |
|
getScheme ( ) : string |
Returns the scheme part of URI. |
|
getUser ( ) : string |
Returns the user name part of URI. |
|
isEqual ( $url ) : boolean |
URL comparison. |
|
jsonSerialize ( ) : string |
|
|
parseQuery ( $s ) : array |
Parses query string. |
|
setFragment ( $value ) : self |
Sets the fragment part of URI. |
|
setHost ( $value ) : self |
Sets the host part of URI. |
|
setPassword ( $value ) : self |
Sets the password part of URI. |
|
setPath ( $value ) : self |
Sets the path part of URI. |
|
setPort ( $value ) : self |
Sets the port part of URI. |
|
setQuery ( $value ) : self |
Sets the query part of URI. |
|
setQueryParameter ( $name, $value ) : self |
|
|
setScheme ( $value ) : self |
Sets the scheme part of URI. |
|
setUser ( $value ) : self |
Sets the user name part of URI. |
|
unescape ( $s, $reserved = '%;/?:@&=+$,' ) : string |
Similar to rawurldecode, but preserves reserved chars encoded. |
|