Path

ez components / documentation / api reference / 2009.1.2 / mvctools


eZ Components 2009.1.2

MvcTools: ezcMvcHttpRequestParser

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcMvcHttpRequestParser

Request parser that uses HTTP headers to populate an ezcMvcRequest object. [source]

Parents

ezcMvcRequestParser
   |
   --ezcMvcHttpRequestParser

Inherited Member Variables

From ezcMvcRequestParser:
protected  ezcMvcRequestParser::$properties
protected  ezcMvcRequestParser::$request

Method Summary

public ezcMvcRequest createRequest( )
Uses the data from the superglobals.
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 processCookies( )
Process cookies
protected void processFiles( )
Processes uploaded files.
protected void processStandardHeaders( )
Processes the standard headers that are not subdivided into other structs.
protected void processUserAgentHeaders( )
Proccesses the User Agent header into the ezcMvcRequestUserAgent struct.

Inherited Methods

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.

Methods

createRequest

ezcMvcRequest createRequest( )
Uses the data from the superglobals.

Redefinition of

Method Description
ezcMvcRequestParser::createRequest() Reads the raw request data with what ever means necessary and constructs an ezcMvcRequest object.

processAcceptHeaders

void processAcceptHeaders( )
Proccesses the HTTP Accept headers into the ezcMvcRequestAccept struct.

processAuthVars

void processAuthVars( )
Processes the basic HTTP auth variables is set

processCookies

void processCookies( )
Process cookies

processFiles

void processFiles( )
Processes uploaded files.

processStandardHeaders

void processStandardHeaders( )
Processes the standard headers that are not subdivided into other structs.

processUserAgentHeaders

void processUserAgentHeaders( )
Proccesses the User Agent header into the ezcMvcRequestUserAgent struct.

Last updated: Tue, 01 Sep 2009