mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-22 06:26:57 +01:00
Updated a.1 Showing a ranking (markdown)
parent
421d50813f
commit
af585dc6e9
@ -17,6 +17,6 @@ $filereader->read('mycompetition.sws');
|
|||||||
$ranking = $filereader->getTournament()->getRanking();
|
$ranking = $filereader->getTournament()->getRanking();
|
||||||
$count = 1;
|
$count = 1;
|
||||||
foreach($ranking as $player) {
|
foreach($ranking as $player) {
|
||||||
echo $count . ' ' . $player->getName() . '(' . $player.->getPoints() . ')';
|
echo $count . ' ' . $player->getName() . '(' . $player.->getTiebreaks()[0] . ')';
|
||||||
$count++;
|
$count++;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user