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
Properties
string read-only | $scriptPath | ||
string read-only | $basePath | ||
string read-only | $relativePath | ||
string read-only | $baseUrl | ||
string read-only | $relativeUrl | ||
string read-only | $pathInfo |
Methods
__construct(Url $url = '/', string $scriptPath = '')
No description
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 42
__construct(Url $url = '/', string $scriptPath = '')
No description
at line 50
UrlImmutable
withPath(string $path, string $scriptPath = '')
No description
at line 59
string
getScriptPath()
No description
at line 65
string
getBasePath()
No description
at line 71
string
getRelativePath()
No description
at line 77
string
getBaseUrl()
No description
at line 83
string
getRelativeUrl()
No description
at line 92
string
getPathInfo()
Returns the additional path information.
at line 98
protected void
build()
No description