Filter
Filter modules are called for every request, just before the request
leaves Challenger. The module type constant is MODULE_FILTER.
- mixed filter( mapping response, object id )
-
The response argument contains the response Challenger were
about to send to the browser, id contains the request
information object. If the filter module returns zero the original
response will be sent. If the filter module returns something else,
that response will be sent to the browser instead.
|