Updated d. Converting your code to the generalized format (markdown)

Jeroen De Meerleer 2019-09-27 19:39:25 +02:00
parent 862a4aae97
commit 79cdb84510

@ -22,7 +22,7 @@ $sws = $reader->read('<filename>');
## Getting a ranking `Master`
With the generalization, work has been put in fixing the tiebreaks. This also includes that the `Tournament::GetRanking()` method has changed. Most important is that it does not have a parameter for american sort anymore.
When you try to get a ranking and want to display a certain tiebreak, all you need to do is to call the `Player::GetTiebreaks()` function. This will return an array of applied tiebreaks. Every tiebreak which was set as tiebreak to the tournament gets calculated. This means that if a tiebreak was not needed anymore of the calculation of the ranking, it does not get calculated anymore.
When you try to get a ranking and want to display a certain tiebreak, all you need to do is to call the `Player::GetTiebreaks()` function. This will return an array of applied tiebreaks. Every tiebreak which was set as tiebreak to the tournament gets calculated. This means that if a tiebreak was not needed anymore of the calculation of the ranking, it still gets calculated.
## Changed getters and setters `Master`
### Getters