mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 07:21:01 +01:00
Updated a.2 Showing the pairings of a specific round (markdown)
parent
a329bc3c10
commit
aa9d5ac221
@ -13,7 +13,7 @@ require_once('vendor/autoload.php');
|
||||
use JeroenED\Libpairtwo\IOFactory;
|
||||
use JeroenED\Libpairtwo\Enums\Result;
|
||||
|
||||
$reader = IOFactory::createReader('Pairtwo-6');
|
||||
$reader = IOFactory::createReader('Swar-4');
|
||||
$reader->read('mycompetition.sws');
|
||||
$tournament = $reader->getTournament();
|
||||
$pairings = $tournament->getRoundByNo($_GET['round'])->getPairings();
|
||||
|
Loading…
Reference in New Issue
Block a user