Request parser that uses HTTP headers to populate an ezcMvcRequest object.
Source for this file: /MvcTools/src/request_parsers/http.php
ezcMvcRequestParser | --ezcMvcHttpRequestParser
Version: | //autogentag// |
From ezcMvcRequestParser | |
---|---|
protected |
ezcMvcRequestParser::$properties
|
protected |
ezcMvcRequestParser::$request
|
public ezcMvcRequest |
createRequest(
)
Uses the data from the superglobals. |
protected ezcMvcRequest |
createRequestObject(
)
Creates and returns an ezcMvcRequest object. |
protected void |
processAcceptHeaders(
)
Proccesses the HTTP Accept headers into the ezcMvcRequestAccept struct. |
protected void |
processAuthVars(
)
Processes the basic HTTP auth variables is set |
protected void |
processBody(
)
Processes the request body for PUT requests. |
protected void |
processCookies(
)
Process cookies |
protected void |
processDate(
)
Processes the request date. |
protected void |
processFiles(
)
Processes uploaded files. |
protected void |
processHost(
)
Processes the request host. |
protected void |
processProtocol(
)
Processes the request protocol. |
protected void |
processReferrer(
)
Processes the referrer. |
protected void |
processRequestId(
)
Processes the request ID from host and URI. |
protected void |
processStandardHeaders(
)
Processes the standard headers that are not subdivided into other structs. |
protected void |
processUri(
)
Processes the request URI. |
protected void |
processUserAgentHeaders(
)
Proccesses the User Agent header into the ezcMvcRequestUserAgent struct. |
protected void |
processVariables(
)
Processes the request variables. |
From ezcMvcRequestParser | |
---|---|
public ezcMvcRequestParser |
ezcMvcRequestParser::__construct()
Constructs a new request parser |
public abstract ezcMvcRequest |
ezcMvcRequestParser::createRequest()
Reads the raw request data with what ever means necessary and constructs an ezcMvcRequest object. |
Uses the data from the superglobals.
Method | Description |
---|---|
ezcMvcRequestParser::createRequest() |
Reads the raw request data with what ever means necessary and constructs an ezcMvcRequest object. |
Creates and returns an ezcMvcRequest object.
Proccesses the HTTP Accept headers into the ezcMvcRequestAccept struct.
Processes the basic HTTP auth variables is set
Processes the request body for PUT requests.
Process cookies
Processes the request date.
Processes uploaded files.
Processes the request host.
Processes the request protocol.
Processes the referrer.
Processes the request ID from host and URI.
Processes the standard headers that are not subdivided into other structs.
Processes the request URI.
Proccesses the User Agent header into the ezcMvcRequestUserAgent struct.
Processes the request variables.