Class UriScript (namespace Nette\Web)
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)
Public Method Summary | |
---|---|
string |
getBasePath
()
Returns the base-path.
|
string |
getBaseUri
()
Returns the base-URI.
|
string |
getPathInfo
()
Returns the additional path information.
|
string |
Returns the relative-URI.
|
Methods Inherited From Uri |
---|
__construct(), canonicalize(), getAbsoluteUri(), getAuthority(), getHostUri(), isEqual(), unescape(), __toString() |
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary | ||||
---|---|---|---|---|
string | $scriptPath |
|
line 53 |
Method Details | ||||||
---|---|---|---|---|---|---|
line 61 getBasePathpublic string getBasePath () Returns the base-path.
|
||||||
line 72 getBaseUripublic string getBaseUri () Returns the base-URI.
|
||||||
line 94 getPathInfopublic string getPathInfo () Returns the additional path information.
|
||||||
line 83 getRelativeUripublic string getRelativeUri () Returns the relative-URI.
|