Beispiel #1
0
 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();
 }
Beispiel #2
0
 /**
  * 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();
 }
Beispiel #4
0
 /**
  * Init of the helpers for this controller. We are calling the parent init() first
  * @return
  */
 public function init()
 {
     parent::init();
     $this->loadInstanceViewHelpers();
 }
Beispiel #5
0
 /**
  * Init of the helpers for this controller. We are calling the parent init() first
  * @return
  */
 public function init()
 {
     parent::init();
 }