Updated Showing the pairings of a specific round (markdown)

Jeroen De Meerleer 2019-05-01 16:27:29 +02:00
parent 55587a424b
commit 77256cd1b7

@ -13,7 +13,7 @@ require_once('vendor/autoload.php');
use JeroenED\Libpairtwo\Sws; use JeroenED\Libpairtwo\Sws;
use JeroenED\Libpairtwo\Enums\Result; use JeroenED\Libpairtwo\Enums\Result;
$sws = Sws::readSws('mycompetition.sws); $sws = Sws::readSws('mycompetition.sws');
$tournament = $sws->getTournament(); $tournament = $sws->getTournament();
$pairings = $tournament->getRoundByNo($_GET['round'])->getPairings(); $pairings = $tournament->getRoundByNo($_GET['round'])->getPairings();
foreach($pairings as $pairing) { foreach($pairings as $pairing) {