Quote:
Originally Posted by cime
Extend the Zend_Controller_Action controller, and then use that extended controller for your real controllers instead of Zend_Controller_Action.
|
The problem I have with this method - or creating an Action Helper which in many cases could achieve the same results - is that if you _forward() or use the ActionStack Helper, the same code is processed over again for each controller action that is dispatched. Does anyone have a good suggestion for initialization code that should only be run once for all dispatched controllers?