mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-16 11:57:51 +01:00
Updated Showing the pairings of a specific round (markdown)
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user