コード例 #1
0
ファイル: result.php プロジェクト: huylv-hust/uosbo
 /**
  * get all data user
  * @return array
  */
 private function _get_data_user()
 {
     $result = array();
     $list = \Model_Muser::find_all();
     foreach ($list as $user) {
         $result[$user['user_id']]['name'] = $user['name'];
         $result[$user['user_id']]['department_id'] = $user['department_id'];
     }
     return $result;
 }