Methods summary
public
|
|
public
Nette\Http\Url
|
#
setScheme( string $value )
Sets the scheme part of URI.
Sets the scheme part of URI.
Parameters
Returns
|
public
string
|
#
getScheme( )
Returns the scheme part of URI.
Returns the scheme part of URI.
Returns
string
|
public
Nette\Http\Url
|
#
setUser( string $value )
Sets the user name part of URI.
Sets the user name part of URI.
Parameters
Returns
|
public
string
|
#
getUser( )
Returns the user name part of URI.
Returns the user name part of URI.
Returns
string
|
public
Nette\Http\Url
|
#
setPassword( string $value )
Sets the password part of URI.
Sets the password part of URI.
Parameters
Returns
|
public
string
|
#
getPassword( )
Returns the password part of URI.
Returns the password part of URI.
Returns
string
|
public
Nette\Http\Url
|
#
setHost( string $value )
Sets the host part of URI.
Sets the host part of URI.
Parameters
Returns
|
public
string
|
#
getHost( )
Returns the host part of URI.
Returns the host part of URI.
Returns
string
|
public
Nette\Http\Url
|
#
setPort( string $value )
Sets the port part of URI.
Sets the port part of URI.
Parameters
Returns
|
public
string
|
#
getPort( )
Returns the port part of URI.
Returns the port part of URI.
Returns
string
|
public
Nette\Http\Url
|
#
setPath( string $value )
Sets the path part of URI.
Sets the path part of URI.
Parameters
Returns
|
public
string
|
#
getPath( )
Returns the path part of URI.
Returns the path part of URI.
Returns
string
|
public
Nette\Http\Url
|
#
setQuery( string|array $value )
Sets the query part of URI.
Sets the query part of URI.
Parameters
Returns
|
public
Nette\Http\Url
|
#
appendQuery( string|array $value )
Appends the query part of URI.
Appends the query part of URI.
Parameters
Returns
|
public
string
|
#
getQuery( )
Returns the query part of URI.
Returns the query part of URI.
Returns
string
|
public
mixed
|
#
getQueryParameter( string $name, mixed $default = NULL )
Parameters
- $name
string
- $default
mixed
Returns
mixed
|
public
Nette\Http\Url
|
#
setQueryParameter( string $name, mixed $value )
Parameters
- $name
string
- $value
mixed NULL unsets the parameter
Returns
|
public
Nette\Http\Url
|
#
setFragment( string $value )
Sets the fragment part of URI.
Sets the fragment part of URI.
Parameters
Returns
|
public
string
|
#
getFragment( )
Returns the fragment part of URI.
Returns the fragment part of URI.
Returns
string
|
public
string
|
#
getAbsoluteUrl( )
Returns the entire URI including query string and fragment.
Returns the entire URI including query string and fragment.
Returns
string
|
public
string
|
#
getAuthority( )
Returns the [user[:pass]@]host[:port] part of URI.
Returns the [user[:pass]@]host[:port] part of URI.
Returns
string
|
public
string
|
#
getHostUrl( )
Returns the scheme and authority part of URI.
Returns the scheme and authority part of URI.
Returns
string
|
public
string
|
|
public
string
|
|
public
string
|
#
getRelativeUrl( )
Returns the relative-URI.
Returns the relative-URI.
Returns
string
|
public
boolean
|
|
public
Nette\Http\Url
|
#
canonicalize( )
Transforms URL to canonical form.
Transforms URL to canonical form.
Returns
|
public
string
|
|
public static
string
|
#
unescape( string $s, string $reserved = '%;/?:@&=+$,' )
Similar to rawurldecode, but preserves reserved chars encoded.
Similar to rawurldecode, but preserves reserved chars encoded.
Parameters
- $s
string to decode
- $reserved
string reserved characters
Returns
string
|