-- guillermo pages <[email protected]> wrote
(on Friday, 21 August 2009, 03:55 PM +0200):
> Hi,
>
> I would like to access the Zend_Controller_Response_Object_Http() from a
> plugin
> that is called in Route Shutdown.
>
> When i create the plugin, i get the the request object from the parameter :
> public function routeShutdown(Zend_Controller_Request_Abstract $request);
>
> but how can i access the response?
Using the getResponse() method of the plugin:
$response = $this->getResponse();
--
Matthew Weier O'Phinney
Project Lead | [email protected]
Zend Framework | http://framework.zend.com/