Working on League Matchings (Qualification)
This commit is contained in:
parent
82e60df35f
commit
9c0f94758d
4 changed files with 8552 additions and 9 deletions
|
|
@ -24,4 +24,9 @@ class League extends Model
|
|||
}
|
||||
return $neededLeagues;
|
||||
}
|
||||
|
||||
public static function getMemberCount($league_id) {
|
||||
$members = DB::table('leagues_matches')->where('league_id','=',$league_id)->get();
|
||||
return sizeof($members);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue