public function preDispatch() { parent::preDispatch(); if ($this->_auth->hasIdentity()) { $this->usersMapper = new Application_Model_Mapper_Users_UsersMapper(); // get user info $this->user = $this->usersMapper->findByUsername($this->loggedInUser->username); } else { throw new Exception('No user is logged in'); } }
public function preDispatch() { parent::preDispatch(); }
public function preDispatch() { $this->_db->getProfiler()->setEnabled(true); parent::preDispatch(); }
public function init() { parent::init(); }
public function init() { parent::init(); // Because this is a custom controller class $this->_ajaxContext->addActionContext('editbasicinfo', 'json')->initContext(); }
public function init() { parent::init(); // Because this is a custom controller class $this->_ajaxContext->addActionContext('fetchmoreproducts', 'json')->initContext(); }
public function init() { parent::init(); // Because this is a custom controller class $this->_ajaxContext->addActionContext('changepassword', 'json')->initContext(); }
public function preDispatch() { parent::preDispatch(); //Zend_Debug::dump($_SERVER); }
public function init() { parent::init(); // Because this is a custom controller class $this->_ajaxContext->addActionContext('checkusername', 'json')->addActionContext('checkemail', 'json')->initContext(); }
public function init() { parent::init(); // Because this is a custom controller class }