public function init() { /* Initialize action controller here */ $this->menuForm = new Menu_Form_MenuForm(); $this->menuGroupForm = new Menu_Form_MenuGroupForm(); //Initialize Cache $cache = new Eicra_View_Helper_Cache(); $this->_controllerCache = $cache->getCache(); }
public function init() { /* Initialize action controller here */ $translator = Zend_Registry::get('translator'); $this->view->assign('translator', $translator); $this->view->setEscape('stripslashes'); //DB Connection $this->_DBconn = Zend_Registry::get('msqli_connection'); $this->_DBconn->getConnection(); //Initialize Cache $cache = new Eicra_View_Helper_Cache(); $this->_controllerCache = $cache->getCache(); }