PHP Class Nette\Http\UrlScript

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)
Inheritance: extends Url
ファイルを表示 Open project: nette/http Class Usage Examples

Public Methods

Method Description
getBasePath ( ) : string Returns the base-path.
getPathInfo ( ) : string Returns the additional path information.
getScriptPath ( ) : string Returns the script-path part of URI.
setScriptPath ( $value ) : self Sets the script-path part of URI.

Method Details

getBasePath() public method

Returns the base-path.
public getBasePath ( ) : string
return string

getPathInfo() public method

Returns the additional path information.
public getPathInfo ( ) : string
return string

getScriptPath() public method

Returns the script-path part of URI.
public getScriptPath ( ) : string
return string

setScriptPath() public method

Sets the script-path part of URI.
public setScriptPath ( $value ) : self
return self