## Zend_Controller_Plugin_Broker

Description

- license: New BSD License
- copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Controller/Plugin/Broker.php (line 42)

    Zend_Controller_Plugin_Abstract
       |
       --Zend_Controller_Plugin_Broker

Variable Summary
array $_plugins
Method Summary
void dispatchLoopShutdown (Zend_Controller_Request_Abstract $request)
void dispatchLoopStartup (Zend_Controller_Request_Abstract $request)
Zend_Controller_Request_Abstract getRequest ()
Zend_Controller_Response_Abstract getResponse ()
void postDispatch (Zend_Controller_Request_Abstract $request)
void preDispatch (Zend_Controller_Request_Abstract $request)
Zend_Controller_Plugin_Broker registerPlugin (Zend_Controller_Plugin_Abstract $plugin)
void routeShutdown (Zend_Controller_Request_Abstract $request)
void routeStartup (Zend_Controller_Request_Abstract $request)
Zend_Controller_Plugin_Broker setRequest (Zend_Controller_Request_Abstract $request)
Zend_Controller_Plugin_Broker setResponse (Zend_Controller_Response_Abstract $response)
Zend_Controller_Plugin_Broker unregisterPlugin (Zend_Controller_Plugin_Abstract $plugin)
Variables
array $_plugins = array() (line 50)

Array of instance of objects extending Zend_Controller_Plugin_Abstract

- access: protected

#### Inherited Variables

Inherited from Zend_Controller_Plugin_Abstract

> Zend_Controller_Plugin_Abstract::$_request
> Zend_Controller_Plugin_Abstract::$_response

Methods
dispatchLoopShutdown (line 225)

Called before Zend_Controller_Front exits its dispatch loop.

- access: public

void dispatchLoopShutdown (Zend_Controller_Request_Abstract $request)

- Zend_Controller_Request_Abstract $request

Redefinition of:

Zend_Controller_Plugin_Abstract::dispatchLoopShutdown()
  Called before Zend_Controller_Front exits its dispatch loop.

dispatchLoopStartup (line 183)

Called before Zend_Controller_Front enters its dispatch loop.

During the dispatch loop, Zend_Controller_Front keeps a Zend_Controller_Request_Abstract object, and uses Zend_Controller_Dispatcher to dispatch the Zend_Controller_Request_Abstract object to controllers/actions.

- access: public

void dispatchLoopStartup (Zend_Controller_Request_Abstract $request)

- Zend_Controller_Request_Abstract $request

Redefinition of:

Zend_Controller_Plugin_Abstract::dispatchLoopStartup()
  Called before Zend_Controller_Front enters its dispatch loop.

getRequest (line 90)

Get request object

- access: public

Zend_Controller_Request_Abstract getRequest ()

Redefinition of:

Zend_Controller_Plugin_Abstract::getRequest()
  Get request object

getResponse (line 118)

Get response object

- access: public

Zend_Controller_Response_Abstract getResponse ()

Redefinition of:

Zend_Controller_Plugin_Abstract::getResponse()
  Get response object

postDispatch (line 211)

Called after an action is dispatched by Zend_Controller_Dispatcher.

- access: public

void postDispatch (Zend_Controller_Request_Abstract $request)

- Zend_Controller_Request_Abstract $request

Redefinition of:

Zend_Controller_Plugin_Abstract::postDispatch()
  Called after an action is dispatched by Zend_Controller_Dispatcher.

preDispatch (line 197)

Called before an action is dispatched by Zend_Controller_Dispatcher.

- access: public

void preDispatch (Zend_Controller_Request_Abstract $request)

- Zend_Controller_Request_Abstract $request

Redefinition of:

Zend_Controller_Plugin_Abstract::preDispatch()
  Called before an action is dispatched by Zend_Controller_Dispatcher.

registerPlugin (line 59)

Register a plugin.

- access: public

Zend_Controller_Plugin_Broker registerPlugin (Zend_Controller_Plugin_Abstract $plugin)

- Zend_Controller_Plugin_Abstract $plugin

routeShutdown (line 164)

Called before Zend_Controller_Front exits its iterations over the route set.

- access: public

void routeShutdown (Zend_Controller_Request_Abstract $request)

- Zend_Controller_Request_Abstract $request

Redefinition of:

Zend_Controller_Plugin_Abstract::routeShutdown()
  Called after Zend_Controller_Router exits.

routeStartup (line 149)

Called before Zend_Controller_Front begins evaluating the request against its routes.

- access: public

void routeStartup (Zend_Controller_Request_Abstract $request)

- Zend_Controller_Request_Abstract $request

Redefinition of:

Zend_Controller_Plugin_Abstract::routeStartup()
  Called before Zend_Controller_Front begins evaluating the request against its routes.

setRequest (line 74)

Set request object, and register with each plugin

- access: public

Zend_Controller_Plugin_Broker setRequest (Zend_Controller_Request_Abstract $request)

- Zend_Controller_Request_Abstract $request

Redefinition of:

Zend_Controller_Plugin_Abstract::setRequest()
  Set request object

setResponse (line 101)

Set response object

- access: public

Zend_Controller_Plugin_Broker setResponse (Zend_Controller_Response_Abstract $response)

- Zend_Controller_Response_Abstract $response

Redefinition of:

Zend_Controller_Plugin_Abstract::setResponse()
  Set response object

unregisterPlugin (line 131)

Unregister a plugin.

- access: public

Zend_Controller_Plugin_Broker unregisterPlugin (Zend_Controller_Plugin_Abstract $plugin)

- Zend_Controller_Plugin_Abstract $plugin

#### Inherited Methods

Inherited From Zend_Controller_Plugin_Abstract

> Zend_Controller_Plugin_Abstract::dispatchLoopShutdown()
> Zend_Controller_Plugin_Abstract::dispatchLoopStartup()
> Zend_Controller_Plugin_Abstract::getRequest()
> Zend_Controller_Plugin_Abstract::getResponse()
> Zend_Controller_Plugin_Abstract::postDispatch()
> Zend_Controller_Plugin_Abstract::preDispatch()
> Zend_Controller_Plugin_Abstract::routeShutdown()
> Zend_Controller_Plugin_Abstract::routeStartup()
> Zend_Controller_Plugin_Abstract::setRequest()
> Zend_Controller_Plugin_Abstract::setResponse()

Documentation generated on Wed, 21 Feb 2007 11:46:02 -0800 by phpDocumentor 1.3.1