You can use the "Action" view helper (http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.action) Obviously from the controller's action it would be $this->view->action($action, $controller).
Giuliano Jaka Jančar wrote: > > Hi! > > How can I call one controller's action from another controller? > > I don't want to add it to the action stack, but instead obtain the > return value immediately. > > Instantiating a controller seems to mess up my action handlers > (ViewRenderer especially, I think). Before I start looking into this > in more detail, is invoking a controller action/instance method from > another controller supported at all? > > Jaka > > -- View this message in context: http://www.nabble.com/Calling-one-controller-from-another-tp19737037p19737258.html Sent from the Zend Framework mailing list archive at Nabble.com.
