Example #1
0
 public static function srSoftCapReached($term)
 {
     $softCap = LotteryProcess::getSrSoftCap();
     $assigned = LotteryProcess::countLotteryAssignedByClassGender($term, CLASS_SENIOR);
     if ($assigned >= $softCap) {
         return true;
     }
     return false;
 }