Zend framework invocation parameters in front controller

Invocation parameters are used to store common data inside the Front Controller. This data is passed into the Action Controller, Router, and Dispatcher for all requests.Invocation parameters can be used to pass an object created during the bootstrap to the Controller Action. In bootstrap: 1 2 3 $front = Zend_Controller_Front::getInstance(); $param = new SomeClass(); $front->setParam(’myparam’,$param); […]
Continue reading…

Enjoyed this post? Share it!