Docs For Class Zend_Controller_Plugin_Broker

## Class Zend_Controller_Plugin_Broker

Description

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

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

    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 ()
self setRequest (Zend_Controller_Request_Abstract $request)
self setResponse (Zend_Controller_Response_Abstract $response)
Zend_Controller_Plugin_Broker unregisterPlugin (Zend_Controller_Plugin_Abstract $plugin)
Variables
array $_plugins = array() (line 45)

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 219)

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 177)

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 85)

Get request object

- access: public

Zend_Controller_Request_Abstract getRequest ()

Redefinition of:

Zend_Controller_Plugin_Abstract::getRequest()
  Get request object

getResponse (line 113)

Get response object

- access: public

Zend_Controller_Response_Abstract getResponse ()

Redefinition of:

Zend_Controller_Plugin_Abstract::getResponse()
  Get response object

postDispatch (line 205)

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 191)

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 54)

Register a plugin.

- access: public

Zend_Controller_Plugin_Broker registerPlugin (Zend_Controller_Plugin_Abstract $plugin)

- Zend_Controller_Plugin_Abstract $plugin

routeShutdown (line 158)

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 143)

Called before Zend_Controller_Front begins evaluating the request against its routes.

- access: public

void routeStartup ()

Redefinition of:

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

setRequest (line 69)

Set request object, and register with each plugin

- access: public

self setRequest (Zend_Controller_Request_Abstract $request)

- Zend_Controller_Request_Abstract $request

Redefinition of:

Zend_Controller_Plugin_Abstract::setRequest()
  Set request object

setResponse (line 96)

Set response object

- access: public

self setResponse (Zend_Controller_Response_Abstract $response)

- Zend_Controller_Response_Abstract $response

Redefinition of:

Zend_Controller_Plugin_Abstract::setResponse()
  Set response object

unregisterPlugin (line 126)

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 Sun, 29 Oct 2006 21:27:52 -0600 by phpDocumentor 1.3.0RC6