예제 #1
0
 public function _initialize()
 {
     parent::_initialize();
     //学校列表
     $school = M('school')->select();
     $this->assign('school', $school);
 }
예제 #2
0
 public function _initialize()
 {
     parent::_initialize();
     $_level_list = M('user_level')->select();
     foreach ($_level_list as $val) {
         $level_list[$val['id']] = $val;
     }
     $this->assign('level_list', $level_list);
 }
예제 #3
0
 public function _initialize()
 {
     parent::_initialize();
 }