public function beforeAction() { parent::beforeAction(); $this->db_manager = new FTable('manager'); $this->db_manager_group = new FTable('manager_group'); return true; }
public function action_index() { $this->secondary_menu = array(); $this->secondary_menu['roles'] = new Model_Ui_Menuitem("Roles", "/admin/roles"); $this->secondary_menu['userroles'] = new Model_Ui_Menuitem("User Roles", "/admin/userroles"); $this->secondary_menu['userroles']->active = true; parent::action_index(); }
protected function _before_execute() { parent::_before_execute(); $this->_pathway->addStep('管理首页'); }
protected function _before_execute() { parent::_before_execute(); // $this->_pathway->addStep('检索下载'); }
public function beforeAction() { parent::beforeAction(); $this->db_group = new FTable('manager_group'); }