RequestProcessor
class RequestProcessor implements RequestFilter (View source)
Represents a request processer that delegates pre and post request handling to nested request filters
Methods
public
bool
preRequest(SS_HTTPRequest $request, Session $session, DataModel $model)
Filter executed before a request processes
public
bool
postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model)
Filter executed AFTER a request
Details
__construct($filters = array())
No description
setFilters(array $filters)
Assign a list of request filters
bool
preRequest(SS_HTTPRequest $request, Session $session, DataModel $model)
Filter executed before a request processes
bool
postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model)
Filter executed AFTER a request