Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (22 sloc) 715 Bytes
* A request filter is an object that's executed before and after a
* request occurs. By returning 'false' from the preRequest method,
* request execution will be stopped from continuing
* @author
* @license BSD License
interface RequestFilter {
* Filter executed before a request processes
* @return boolean (optional)
* Whether to continue processing other filters
public function preRequest(SS_HTTPRequest $request, Session $session, DataModel $model);
* Filter executed AFTER a request
public function postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model);
Jump to Line
Something went wrong with that request. Please try again.