Hello,
you can do that with a controller plugin at postDispatch.
// plugin boilerplate..
public function postDispatch(Zend_Controller_Request_Abstract $request)
{
$response = $this->getResponse();
$body = $response->getBody();
// apply here any filter you want
$response->setBody($body);
}
If you want just to have a different output 'format' you may want to see how
contextSwitch action helper works.
Hope it helps
Cheers
-----
Sergio Rinaudo's Blog
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Alter-HTML-just-before-displaying-tp4659597p4659733.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]