UrlScript
class UrlScript extends UrlImmutable
Immutable representation of a URL with application base-path.
baseUrl basePath relativePath relativeUrl | | | | /---------------/-----\/--------\-----------------------------\ http://nette.org/admin/script.php/pathinfo/?name=param#fragment \_______________/\________/ | | scriptPath pathInfo
Methods
withPath(string $path, string $scriptPath = '')
No description
string
getScriptPath()
No description
string
getBasePath()
No description
string
getRelativePath()
No description
string
getBaseUrl()
No description
string
getRelativeUrl()
No description
string
getPathInfo()
Returns the additional path information.
void
build()
No description
Details
at line 44
__construct(string|UrlImmutable|Url $url = '/', string $scriptPath = '')
at line 53
UrlImmutable
withPath(string $path, string $scriptPath = '')
at line 62
string
getScriptPath()
at line 68
string
getBasePath()
at line 74
string
getRelativePath()
at line 80
string
getBaseUrl()
at line 86
string
getRelativeUrl()
at line 95
string
getPathInfo()
Returns the additional path information.