Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 public function preDispatch()
 {
     parent::preDispatch();
     $this->getDi()->billingPlanTable->toggleProductCache(false);
     $this->getDi()->productTable->toggleCache(false);
 }
Ejemplo n.º 3
0
 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();
 }
Ejemplo n.º 6
0
 public function preDispatch()
 {
     parent::preDispatch();
     $this->setActiveMenu($this->getParam('_u_a') == 'insert' ? 'users-insert' : 'users-browse');
 }