コード例 #1
0
ファイル: Usergroup.php プロジェクト: nattaphat/cuse2
 /**
  * [getGrpName group name]
  * @param  [type] $id [user id]
  * @return [array]     [description]
  */
 public function getGrpName($id)
 {
     $grp = Usergroup::where('id', '=', $id)->first();
     return $grp;
 }