Merge branch 'release-1.2' into develop

This commit is contained in:
Jeroen De Meerleer 2019-09-28 00:47:46 +02:00
commit aa56e3c5c6
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# CHANGELOG
## v1.2 (Release: aa-bbb-cccc)
## v1.2 (Release: 28-sep-2019)
* NEW READER: `Reader::swar-4` for reading out files created with Swar version 4.
* NEW FEATURE: `Tournament::getArbiters()` for multiple arbiters in 1 tournament
* ENHANCEMENT: `Class::getBinaryData()` methods return null if field is non-existent

View File

@ -1,5 +1,5 @@
{
"require": {
"jeroened/libpairtwo": "^1.1"
"jeroened/libpairtwo": "^1.2"
}
}
}

2
dist/readme.md vendored
View File

@ -4,7 +4,7 @@ This distribution is a good start to use libpairtwo if you don't have knowledge
How to use this distribution?
-----------------------------
The file `boilerplate.php` is the one you'll probably want to work with. You'll want to point your browser to this file. It contains some initializations where the most important one is the variable `$pairingfile`. You'll want to set this to existing pairing file.
The file `template.php` is the one you'll probably want to work with. You'll want to point your browser to this file. It contains some initializations where the most important one is the variable `$pairingfile`. You'll want to set this to existing pairing file.
The other variable (`$pairingfileformat`) is a variable that defines the format of the above pairing file. For now only `Pairtwo-6` and `Pairtwo-5` are available. In the future more formats will become available.
Below the comments you'll find some example code. This code is only a aggregation of several fields that are read out. If you need any modifications like putting the rankings in a table or you want to just write it to a file, go ahead it's all yours.