class UrlScript extends Url

Extended HTTP URL.

http://nette.org/admin/script.php/pathinfo/?name=param#fragment
                \_______________/\________/
                       |              |
                  scriptPath       pathInfo
  • scriptPath: /admin/script.php (or simply /admin/ when script is directory index)
  • pathInfo: /pathinfo/ (additional path information)

Properties

string $scriptPath
string read-only $pathInfo

Methods

setScriptPath($value)

Sets the script-path part of URI.

string
getScriptPath()

Returns the script-path part of URI.

string
getBasePath()

Returns the base-path.

string
getPathInfo()

Returns the additional path information.

Details

at line 40
UrlScript setScriptPath($value)

Sets the script-path part of URI.

Parameters

$value

Return Value

UrlScript

at line 51
string getScriptPath()

Returns the script-path part of URI.

Return Value

string

at line 61
string getBasePath()

Returns the base-path.

Return Value

string

at line 72
string getPathInfo()

Returns the additional path information.

Return Value

string