public function init() { parent::init(); $this->getResponse()->setHeader("Cache-Control", "no-cache, must-revalidate"); $this->_helper->contextSwitch()->initContext(); $this->view->ajaxurl = '/publicfiles/index/'; $this->loadInstanceViewHelpers(); }
/** * Initialize object, overrides the parent method * @return void */ public function init() { if ($this->view->sydneylayout == 'no') { $this->sydneyLayout = 'no'; } parent::init(); $this->getResponse()->setHeader("Cache-Control", "no-cache, must-revalidate"); $this->_helper->contextSwitch()->initContext(); $this->view->config = $this->_config; // get the JSON data posted if (isset($this->getRequest()->jsonString)) { $this->jsonr = Zend_Json::decode($this->getRequest()->jsonString); } $this->view->headTitle('Authentication'); }
/** * Init of the helpers for this controller. We are calling the parent init() first * @return */ public function init() { parent::init(); $this->_helper->contextSwitch()->initContext(); $this->loadInstanceViewHelpers(); }
/** * Init of the helpers for this controller. We are calling the parent init() first * @return */ public function init() { parent::init(); $this->loadInstanceViewHelpers(); }
/** * Init of the helpers for this controller. We are calling the parent init() first * @return */ public function init() { parent::init(); }