Class UriScript (namespace Nette\Web)
Extended HTTP URL.
basePath relativeUri | | /-----\/------------------\ http://nettephp.com/admin/script.php/pathinfo/?name=param#fragment \_______________/\________/ | | scriptPath pathInfo
- basePath: /admin/ (everything before relative URI not including the script name)
- baseUri: http://nettephp.com/admin/
- scriptPath: /admin/script.php
- relativeUri: script.php/pathinfo/
- pathInfo: /pathinfo/ (additional path information)
Object | --FreezableObject | --Uri | --UriScript
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.
|
string |
Returns the script-path part of URI.
|
UriScript |
setScriptPath
(string $value)
Sets the script-path part of URI.
|
Methods Inherited From Uri |
---|
__construct(), appendQuery(), canonicalize(), getAbsoluteUri(), getAuthority(), getFragment(), getHost(), getHostUri(), getPass(), getPassword(), getPath(), getPort(), getQuery(), getScheme(), getUser(), isEqual(), setFragment(), setHost(), setPass(), setPassword(), setPath(), setPort(), setQuery(), setScheme(), setUser(), unescape(), __toString() |
Methods Inherited From FreezableObject |
---|
freeze(), isFrozen(), updating(), __clone() |
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary |
---|
Method Details | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
line 91 getBasePathpublic string getBasePath () Returns the base-path.
|
||||||||||||
line 102 getBaseUripublic string getBaseUri () Returns the base-URI.
|
||||||||||||
line 124 getPathInfopublic string getPathInfo () Returns the additional path information.
|
||||||||||||
line 113 getRelativeUripublic string getRelativeUri () Returns the relative-URI.
|
||||||||||||
line 80 getScriptPathpublic string getScriptPath () Returns the script-path part of URI.
|
||||||||||||
line 67 setScriptPathpublic UriScript setScriptPath (string $value) Sets the script-path part of URI.
|