mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 15:31:00 +01:00
Updated d. Converting your code to the generalized format (markdown)
parent
012ae27ebf
commit
9d65e6123c
@ -19,12 +19,12 @@ require_once 'vendor/autoload.php';
|
||||
$reader = IOFactory::createReader('Pairtwo-6');
|
||||
$sws = $reader->read('<filename>');
|
||||
```
|
||||
## Getting a ranking `Develop`
|
||||
## 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.
|
||||
|
||||
## Changed getters and setters `Develop`
|
||||
## Changed getters and setters `Master`
|
||||
### Getters
|
||||
|
||||
| Property | Old code | New Code (getter) | Current Status |
|
||||
|
Loading…
Reference in New Issue
Block a user