From cf06eb0a586e200e85fc3efc642edd9c15e48640 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Mon, 27 May 2019 13:21:18 +0200 Subject: [PATCH] Updated Showing the pairings of a specific round (markdown) --- Showing-the-pairings-of-a-specific-round.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Showing-the-pairings-of-a-specific-round.md b/Showing-the-pairings-of-a-specific-round.md index 9297de0..7362aab 100644 --- a/Showing-the-pairings-of-a-specific-round.md +++ b/Showing-the-pairings-of-a-specific-round.md @@ -10,11 +10,12 @@ When you have the round object you can the `Round::GetPairings()` method to get ````php getTournament(); +$reader = IOFactory::createReader('Pairtwo-6'); +$reader->read('mycompetition.sws'); +$tournament = $reader->getTournament(); $pairings = $tournament->getRoundByNo($_GET['round'])->getPairings(); foreach($pairings as $pairing) {