Zend Framework
1.12
|
Public Member Functions | |
__construct () | |
Constructor. | |
serverUrl ($requestUri=null) | |
View helper entry point: Returns the current host's URL like http://site.com. | |
getHost () | |
Returns host. | |
setHost ($host) | |
Sets host. | |
getScheme () | |
Returns scheme (typically http or https) | |
setScheme ($scheme) | |
Sets scheme (typically http or https) | |
Protected Attributes | |
$_scheme | |
$_host | |
__construct | ( | ) |
Constructor.
getHost | ( | ) |
Returns host.
getScheme | ( | ) |
Returns scheme (typically http or https)
serverUrl | ( | $requestUri = null | ) |
View helper entry point: Returns the current host's URL like http://site.com.
string | boolean | $requestUri | [optional] if true, the request URI found in $_SERVER will be appended as a path. If a string is given, it will be appended as a path. Default is to not append any path. |
setHost | ( | $host | ) |
Sets host.
string | $host | new host |
setScheme | ( | $scheme | ) |
Sets scheme (typically http or https)
string | $scheme | new scheme (typically http or https) |
|
protected |
|
protected |