You are here

protected function AuthcacheP13nDefaultRequestHandler::filter in Authenticated User Page Caching (Authcache) 7.2

Perform chain of filters for a given event.

1 call to AuthcacheP13nDefaultRequestHandler::filter()
AuthcacheP13nDefaultRequestHandler::handle in modules/authcache_p13n/includes/AuthcacheP13nDefaultRequestHandler.inc
Render and print the response according to the given parameters.

File

modules/authcache_p13n/includes/AuthcacheP13nDefaultRequestHandler.inc, line 87
Defines default request handler class

Class

AuthcacheP13nDefaultRequestHandler
Default request handler class for personalized fragments.

Code

protected function filter($event, $input) {
  $output = $input;
  if (!empty($this->filters[$event])) {
    foreach ($this->filters[$event] as $filter) {
      $output = $filter
        ->filter($event, $output);
    }
  }
  return $output;
}