Class UriScript
Extended HTTP URL.
basePath relativeUri
| |
/-----\/------------------\
https://nette.org/admin/script.php/pathinfo/?name=param#fragment
\_______________/\________/
| |
scriptPath pathInfo
- basePath: /admin/ (everything before relative URI not including the script
name)
- baseUri: https://nette.org/admin/
- scriptPath: /admin/script.php
- relativeUri: script.php/pathinfo/
- pathInfo: /pathinfo/ (additional path information)
-
Nette\Object
-
Nette\FreezableObject
-
Nette\Web\Uri
-
Nette\Web\UriScript
Methods summary
public
Nette\Web\UriScript
|
#
setScriptPath( string $value )
Sets the script-path part of URI.
Sets the script-path part of URI.
Parameters
Returns
|
public
string
|
#
getScriptPath( )
Returns the script-path part of URI.
Returns the script-path part of URI.
Returns
string
|
public
string
|
|
public
string
|
|
public
string
|
#
getRelativeUri( )
Returns the relative-URI.
Returns the relative-URI.
Returns
string
|
public
string
|
#
getPathInfo( )
Returns the additional path information.
Returns the additional path information.
Returns
string
|
Methods inherited from Nette\Web\Uri
__construct(),
__toString(),
appendQuery(),
canonicalize(),
getAbsoluteUri(),
getAuthority(),
getFragment(),
getHost(),
getHostUri(),
getPassword(),
getPath(),
getPort(),
getQuery(),
getScheme(),
getUser(),
isEqual(),
setFragment(),
setHost(),
setPassword(),
setPath(),
setPort(),
setQuery(),
setScheme(),
setUser(),
unescape()
|