Ejemplo n.º 1
0
 function GroupListAction()
 {
     $this->BaseAdminData();
     $request = Project::getRequest();
     $info = array();
     $param_model = new ParamModel();
     $item = array();
     $item['number'] = 1;
     $item['controller_description'] = 'Общие параметры конфигурации';
     $item['count_param'] = $param_model->count(0);
     $item['controller_id'] = 0;
     $item['label'] = 'Common';
     $model = new ParamGroupModel();
     $info['group_list'] = $model->loadAll();
     array_unshift($info['group_list'], $item);
     $info['edit_controller'] = null;
     $info['edit_action'] = 'EditGroup';
     $this->_view->GroupList($info);
     $this->_view->parse();
 }