Class

ezpMvcConfiguration

class ezpMvcConfiguration implements ezcMvcDispatcherConfiguration

File containing Mvc configuration

Constants

FILTER_TYPE_PREROUTING

FILTER_TYPE_REQUEST

FILTER_TYPE_RESULT

FILTER_TYPE_RESPONSE

INDEX_FILE

Properties

string $apiPrefix

Methods

__construct($responseWriterClass = null)

createFatalRedirectRequest(ezcMvcRequest $request, ezcMvcResult $result, Exception $e)

createRequestParser()

createResponseWriter(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request, ezcMvcResult $result, ezcMvcResponse $response)

createRouter(ezcMvcRequest $request)

createView(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request, ezcMvcResult $result)

runPreRoutingFilters(ezcMvcRequest $request)

runRequestFilters(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request)

runResponseFilters(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request, ezcMvcResult $result, ezcMvcResponse $response)

runResultFilters(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request, ezcMvcResult $result)

Details

at line 26
public __construct($responseWriterClass = null)

Parameters

$responseWriterClass

at line 32
public createFatalRedirectRequest(ezcMvcRequest $request, ezcMvcResult $result, Exception $e)

Parameters

ezcMvcRequest $request
ezcMvcResult $result
Exception $e

at line 41
public createRequestParser()

at line 53
public createResponseWriter(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request, ezcMvcResult $result, ezcMvcResponse $response)

Parameters

ezcMvcRoutingInformation $routeInfo
ezcMvcRequest $request
ezcMvcResult $result
ezcMvcResponse $response

at line 59
public createRouter(ezcMvcRequest $request)

Parameters

ezcMvcRequest $request

at line 64
public createView(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request, ezcMvcResult $result)

Parameters

ezcMvcRoutingInformation $routeInfo
ezcMvcRequest $request
ezcMvcResult $result

at line 72
public runPreRoutingFilters(ezcMvcRequest $request)

Parameters

ezcMvcRequest $request

at line 98
public runRequestFilters(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request)

Parameters

ezcMvcRoutingInformation $routeInfo
ezcMvcRequest $request

at line 117
public runResponseFilters(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request, ezcMvcResult $result, ezcMvcResponse $response)

Parameters

ezcMvcRoutingInformation $routeInfo
ezcMvcRequest $request
ezcMvcResult $result
ezcMvcResponse $response

at line 133
public runResultFilters(ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request, ezcMvcResult $result)

Parameters

ezcMvcRoutingInformation $routeInfo
ezcMvcRequest $request
ezcMvcResult $result