| 1 | <?php |
||
| 5 | class Games |
||
| 6 | { |
||
| 7 | public function __construct() |
||
| 11 | |||
| 12 | public function getGrossWinner() |
||
| 13 | { |
||
| 14 | return 'gross'; |
||
| 15 | //take an array of players and gross score |
||
| 16 | //find lowest and return |
||
| 17 | //for each score in a given round determine +/- for each |
||
| 18 | //sort and return |
||
| 19 | |||
| 20 | |||
| 21 | } |
||
| 22 | |||
| 23 | public function getNetWinner() |
||
| 24 | { |
||
| 25 | //for each score in a given round determine +/- for each AFTER subtracting handicap |
||
| 26 | |||
| 27 | } |
||
| 28 | |||
| 29 | public function currentParTotal($courseId, $holesPlayed) |
||
| 34 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.