Horde_Controller_Request_Http
in package
implements
Horde_Controller_Request
Tags
Interfaces, Classes, Traits and Enums
- Horde_Controller_Request
- Interface for a request object
Table of Contents
- $_headers : array<string|int, mixed>
- All the headers
- $_path : string
- Request path
- getCookieVars() : mixed
- getFileVars() : mixed
- getGetVars() : mixed
- getHeader() : string
- Gets the value of header.
- getHeaderNames() : array<string|int, mixed>
- Gets all the header names.
- getHeaders() : array<string|int, mixed>
- Gets all the headers.
- getMethod() : mixed
- getPath() : mixed
- getPostVars() : mixed
- getRequestBody() : mixed
- The request body if it is not form-encoded
- getRequestVars() : mixed
- getServerVars() : mixed
- getSessionId() : mixed
- setPath() : mixed
- _getAllHeaders() : array<string|int, mixed>
- Returns all HTTP_* headers.
Properties
$_headers
All the headers
protected
array<string|int, mixed>
$_headers
= \null
$_path
Request path
protected
string
$_path
Methods
getCookieVars()
public
getCookieVars() : mixed
Return values
mixed —getFileVars()
public
getFileVars() : mixed
Return values
mixed —getGetVars()
public
getGetVars() : mixed
Return values
mixed —getHeader()
Gets the value of header.
public
getHeader(string $name) : string
Returns the value of the specified request header.
Parameters
- $name : string
-
the name of the header
Return values
string —the value of the specified header
getHeaderNames()
Gets all the header names.
public
getHeaderNames() : array<string|int, mixed>
Returns an array of all the header names this request contains.
Return values
array<string|int, mixed> —all the available headers as strings
getHeaders()
Gets all the headers.
public
getHeaders() : array<string|int, mixed>
Returns an associative array of all the header names and values of this request.
Return values
array<string|int, mixed> —containing all the headers
getMethod()
public
getMethod() : mixed
Return values
mixed —getPath()
public
getPath() : mixed
Return values
mixed —getPostVars()
public
getPostVars() : mixed
Return values
mixed —getRequestBody()
The request body if it is not form-encoded
public
getRequestBody() : mixed
Tags
Return values
mixed —getRequestVars()
public
getRequestVars() : mixed
Return values
mixed —getServerVars()
public
getServerVars() : mixed
Return values
mixed —getSessionId()
public
getSessionId() : mixed
Return values
mixed —setPath()
public
setPath(mixed $path) : mixed
Parameters
- $path : mixed
Return values
mixed —_getAllHeaders()
Returns all HTTP_* headers.
private
_getAllHeaders() : array<string|int, mixed>
Returns all the HTTP_* headers. Works both if PHP is an apache module and if it's running as a CGI.
Return values
array<string|int, mixed> —the headers' names and values