Class NUriScript
Extended HTTP URL.
basePath relativeUri | | /-----\/------------------\ http://nette.org/admin/script.php/pathinfo/?name=param#fragment \_______________/\________/ | | scriptPath pathInfo
- basePath: /admin/ (everything before relative URI not including the script name)
- baseUri: http://nette.org/admin/
- scriptPath: /admin/script.php
- relativeUri: script.php/patÂhinfo/
- pathInfo: /pathinfo/ (additional path information)
- NObject
-
NFreezableObject implements IFreezable
-
NUri
-
NUriScript
public
NUriScript
|
#
setScriptPath(
string
$value
)
Sets the script-path part of URI. Sets the script-path part of URI. Parameters$value stringReturnsNUriScript provides a fluent interface
|
public
string
|
#
getScriptPath(
)
Returns the script-path part of URI. Returns the script-path part of URI. |
public
string
|
#
getBasePath(
)
Returns the base-path. Returns the base-path. |
public
string
|
#
getBaseUri(
)
Returns the base-URI. Returns the base-URI. |
public
string
|
#
getRelativeUri(
)
Returns the relative-URI. Returns the relative-URI. |
public
string
|
#
getPathInfo(
)
Returns the additional path information. Returns the additional path information. |
Methods Inherited From NUri
__construct(), setScheme(), getScheme(), setUser(), getUser(), setPassword(), getPassword(), setHost(), getHost(), setPort(), getPort(), setPath(), getPath(), setQuery(), appendQuery(), getQuery(), setFragment(), getFragment(), getAbsoluteUri(), getAuthority(), getHostUri(), isEqual(), canonicalize(), __toString(), unescape()
Methods Inherited From NFreezableObject
Methods Inherited From NObject
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
Properties Inherited From NUri
$defaultPorts