Qualification Pairing done
This commit is contained in:
parent
a66189ca00
commit
e0d38fac38
4 changed files with 73 additions and 172 deletions
|
|
@ -16,7 +16,11 @@ class LeagueMember extends Model
|
|||
|
||||
public static function getMembers($league_id) {
|
||||
$members =LeagueMember::where('league_id','=',$league_id)->orderBy('id')->get();
|
||||
return $members;
|
||||
$userList=array();
|
||||
foreach($members as $member) {
|
||||
array_push($userList,$member->user_id);
|
||||
}
|
||||
return $userList;
|
||||
}
|
||||
|
||||
public static function playsInRound($userId, $roundId, $leagueId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue