function preDispatch() { $this->country = preg_replace("[^A_Z]", '', $this->_request->country); if (!$this->country) { throw new Am_Exception_InputError("country is empty in " . get_class($this)); } $this->setActiveMenu('countries'); return parent::preDispatch(); }
public function preDispatch() { parent::preDispatch(); $this->getDi()->billingPlanTable->toggleProductCache(false); $this->getDi()->productTable->toggleCache(false); }
public function preDispatch() { parent::preDispatch(); $this->view->headScript()->appendFile(REL_ROOT_URL . "/application/default/views/public/js/resourceaccess.js"); }
public function preDispatch() { parent::preDispatch(); class_exists('Am_Form_Brick', true); //pre-load }
public function preDispatch() { parent::preDispatch(); $this->lists = $this->getDi()->newsletterListTable->getAdminOptions(); }
public function preDispatch() { parent::preDispatch(); $this->setActiveMenu($this->getParam('_u_a') == 'insert' ? 'users-insert' : 'users-browse'); }