mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-16 20:07:50 +01:00
Updated Showing the pairings of a specific round (markdown)
parent
0a768ecae2
commit
ed065c569b
@ -19,6 +19,6 @@ $pairings = $tournament->getRoundByNo($_GET['round'])->getPairings();
|
|||||||
foreach($pairings as $pairing) {
|
foreach($pairings as $pairing) {
|
||||||
$player = $pairing->getPlayer()->getName();
|
$player = $pairing->getPlayer()->getName();
|
||||||
$opponent = $pairing->getOpponent()->getName();
|
$opponent = $pairing->getOpponent()->getName();
|
||||||
$color = $pairing->getColor()- >getColor()->getKey();
|
$color = $pairing->getColor()->getKey();
|
||||||
echo $player . ' against ' . $opponent . ' using ' . $color;
|
echo $player . ' against ' . $opponent . ' using ' . $color;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user