\Horde_Controller_Request_Http

Summary

Methods
Properties
Constants
setPath()
getPath()
getMethod()
getGetVars()
getFileVars()
getServerVars()
getPostVars()
getRequestBody()
getCookieVars()
getRequestVars()
getSessionId()
getHeader()
getHeaderNames()
getHeaders()
No public properties found
No constants found
No protected methods found
$_path
$_headers
N/A
_getAllHeaders()
No private properties found
N/A

Properties

$_path

$_path : string

Request path

Type

string

$_headers

$_headers : array

All the headers

Type

array

Methods

setPath()

setPath(  $path) 

Parameters

$path

getPath()

getPath() 

getMethod()

getMethod() 

getGetVars()

getGetVars() 

getFileVars()

getFileVars() 

getServerVars()

getServerVars() 

getPostVars()

getPostVars() 

getRequestBody()

getRequestBody() 

The request body if it is not form-encoded

getCookieVars()

getCookieVars() 

getRequestVars()

getRequestVars() 

getSessionId()

getSessionId() 

getHeader()

getHeader(string  $name) : string

Gets the value of header.

Returns the value of the specified request header.

Parameters

string $name

the name of the header

Returns

string —

the value of the specified header

getHeaderNames()

getHeaderNames() : array

Gets all the header names.

Returns an array of all the header names this request contains.

Returns

array —

all the available headers as strings

getHeaders()

getHeaders() : array

Gets all the headers.

Returns an associative array of all the header names and values of this request.

Returns

array —

containing all the headers

_getAllHeaders()

_getAllHeaders() : array

Returns all HTTP_* headers.

Returns all the HTTP_* headers. Works both if PHP is an apache module and if it's running as a CGI.

Returns

array —

the headers' names and values