AkismetProcessor
class AkismetProcessor implements RequestFilter (View source)
Allows akismet to be configured via siteconfig instead of hard-coded configuration
Methods
public
bool
postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model)
Filter executed AFTER a request
public
bool
preRequest(SS_HTTPRequest $request, Session $session, DataModel $model)
Filter executed before a request processes
Details
bool
postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model)
Filter executed AFTER a request
bool
preRequest(SS_HTTPRequest $request, Session $session, DataModel $model)
Filter executed before a request processes
protected bool
isDBReady()
Make sure the DB is ready before accessing siteconfig db field