View Single Post
  #6 (permalink)  
Old 03-20-2008, 06:53 PM
dowker dowker is offline
Junior Member
 
Join Date: Mar 2008
Posts: 1
Default

Quote:
Originally Posted by cime View Post
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?
Reply With Quote