Documentation

Horde_Controller_FilterRunner
in package
implements Horde_Controller_FilterCollection

Collects filters and executes them around a controller

Tags
author

Bob McKee bob@bluestatedigital.com

author

James Pepin james@bluestatedigital.com

category

Horde

copyright

2008-2017 Horde LLC

license

http://www.horde.org/licenses/bsd BSD

Interfaces, Classes, Traits and Enums

Horde_Controller_FilterCollection
Interface for an object that houses a collection of pre/post filters.

Table of Contents

$_controller  : Horde_Controller
$_postFilters  : array<string|int, mixed>
$_preFilters  : array<string|int, mixed>
__construct()  : mixed
addPostFilter()  : mixed
Prepend fitler to postfilters array
addPreFilter()  : mixed
Append filter to prefilters array
processRequest()  : Horde_Controller_Response
Executes filters and controller method. Execution happens in the following order:
_applyPostFilters()  : mixed
_applyPreFilters()  : mixed

Properties

$_postFilters

protected array<string|int, mixed> $_postFilters = array()

$_preFilters

protected array<string|int, mixed> $_preFilters = array()

Methods

processRequest()

Executes filters and controller method. Execution happens in the following order:

public processRequest(Horde_Controller_Request $request, Horde_Controller_Response $response) : Horde_Controller_Response
  • Run processRequest() on prefilters in first-in-first-out order
  • Run processRequest() on controller
  • Run processResponse() on postfilters in first-in-last-out order
Parameters
$request : Horde_Controller_Request
$response : Horde_Controller_Response
Return values
Horde_Controller_Response

Search results