API Documentation

Zend/Controller/Plugin/Abstract.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Controller  
Subpackage
Plugins  
Version
$Id: Abstract.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Controller_Plugin_Abstract

Package: Zend\Controller\Plugins

Children
\Zend_Controller_Plugin_ActionStack
\Zend_Controller_Plugin_PutHandler
\Zend_Controller_Plugin_Broker
\Zend_Controller_Plugin_ErrorHandler
\Zend_Wildfire_Channel_HttpHeaders
\Zend_Layout_Controller_Plugin_Layout
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Used_by
\Zend_Controller_Plugin_ActionStack  
Used_by
\Zend_Controller_Plugin_ErrorHandler  
Used_by
\Zend_Layout_Controller_Plugin_Layout  

Properties

Propertyprotected\Zend_Controller_Request_Abstract  $_request= ''

Propertyprotected\Zend_Controller_Response_Abstract  $_response= ''

Methods

methodpublicdispatchLoopShutdown( ) : void

Called before Zend_Controller_Front exits its dispatch loop.

methodpublicdispatchLoopStartup( \Zend_Controller_Request_Abstract $request ) : void

Called before Zend_Controller_Front enters its dispatch loop.

Parameters
Name Type Description
$request \Zend_Controller_Request_Abstract
methodpublicgetRequest( ) : \Zend_Controller_Request_Abstract

Get request object

Returns
Type Description
\Zend_Controller_Request_Abstract $request
methodpublicgetResponse( ) : \Zend_Controller_Response_Abstract

Get response object

Returns
Type Description
\Zend_Controller_Response_Abstract $response
methodpublicpostDispatch( \Zend_Controller_Request_Abstract $request ) : void

Called after an action is dispatched by Zend_Controller_Dispatcher.

This callback allows for proxy or filter behavior. By altering the request and resetting its dispatched flag (via {@link Zend_Controller_Request_Abstract::setDispatched() setDispatched(false)}), a new action may be specified for dispatching.

Parameters
Name Type Description
$request \Zend_Controller_Request_Abstract
methodpublicpreDispatch( \Zend_Controller_Request_Abstract $request ) : void

Called before an action is dispatched by Zend_Controller_Dispatcher.

This callback allows for proxy or filter behavior. By altering the request and resetting its dispatched flag (via {@link Zend_Controller_Request_Abstract::setDispatched() setDispatched(false)}), the current action may be skipped.

Parameters
Name Type Description
$request \Zend_Controller_Request_Abstract
methodpublicrouteShutdown( \Zend_Controller_Request_Abstract $request ) : void

Called after Zend_Controller_Router exits.

Called after Zend_Controller_Front exits from the router.

Parameters
Name Type Description
$request \Zend_Controller_Request_Abstract
methodpublicrouteStartup( \Zend_Controller_Request_Abstract $request ) : void

Called before Zend_Controller_Front begins evaluating the request against its routes.

Parameters
Name Type Description
$request \Zend_Controller_Request_Abstract
methodpublicsetRequest( \Zend_Controller_Request_Abstract $request ) : \Zend_Controller_Plugin_Abstract

Set request object

Parameters
Name Type Description
$request \Zend_Controller_Request_Abstract
Returns
Type Description
\Zend_Controller_Plugin_Abstract
methodpublicsetResponse( \Zend_Controller_Response_Abstract $response ) : \Zend_Controller_Plugin_Abstract

Set response object

Parameters
Name Type Description
$response \Zend_Controller_Response_Abstract
Returns
Type Description
\Zend_Controller_Plugin_Abstract
Documentation was generated by DocBlox 0.15.1.