/** * Initialize this controller before transferring control to the action selected by the router. */ public function init() { parent::init(); // STAGE 3: Choose, create, and optionally update models using business logic. $this->authSpace = new Zend_Session_Namespace('auth'); if ($origRequest = $this->getInvokeArg('origRequest')) { $this->view->origPathInfo = $origRequest->getPathInfo(); } }
public function init() { parent::init(); $this->view->request = Zend_Debug::dump($this->getInvokeArg('origRequest'), null, false); $this->view->rerouteToReason = $this->getInvokeArg('rerouteToReason'); }