You might mean the throwExceptions option if you are trying to selectively enable/disable the ErrorController. The displayExceptions only controls whether an Exception stack is shown by the ErrorController or not.
Paddy Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative ________________________________ From: Dasn <[email protected]> To: [email protected] Sent: Sun, February 28, 2010 11:18:07 PM Subject: [fw-general] How to control 'displayExceptions' in a controller? Hi guys, I'm trying to control the ErrorController via turning on/off the 'displayExceptions' in a controller, for example: class ViewController extends Zend_Controller_Action { public function init() { /* Initialize action controller here */ $front=$this->getFrontController(); $front->setParam('displayExceptions', 0); } } I found the value of 'displayExceptions' was changed, but did not have any effects. Any idea to archive this? Thanks.
