Krzysztof Niziol
a3e5c78dcd
Support PHP 5.5.9+
2017-11-07 19:09:13 +01:00
Meritoo
b58c346e95
Tests - use common method to create/prepare date
2017-10-25 20:38:19 +02:00
Meritoo
83ff76776c
Fetch all participants of survey (instead of first 10 only - default behaviour)
2017-10-25 20:26:03 +02:00
Meritoo
ac72c6bd76
Do not fetch all participants of given survey to get information if participant has filled the survey
2017-10-25 20:22:48 +02:00
Meritoo
bf7392853f
Minor refactoring
2017-10-25 08:38:31 +02:00
Meritoo
db6a6f22e2
ParticipantService - getParticipantDetails() method - returns full data of participant with given e-mail of given survey
2017-10-01 20:51:13 +02:00
Meritoo
f5334f816f
Participants collection - store instances of ParticipantShort instead of Participant
...
Related to fetch full data of participant of given survey
2017-10-01 20:50:17 +02:00
Meritoo
e43712f218
Minor refactoring
2017-10-01 20:43:39 +02:00
Meritoo
98cad233d9
Minor refactoring
2017-10-01 18:20:58 +02:00
Meritoo
41156ed058
Participants collection - store instances of ParticipantShort instead of Participant
...
Required to fix bug "Call to undefined method Meritoo\LimeSurvey\ApiClient\Result\Item\ParticipantShort::isCompleted() in /src/Service/ParticipantService.php on line 206"
2017-10-01 13:42:35 +02:00
Meritoo
6159731768
Base class for one item - add class constructor & allow to set values directly in the constructor
2017-09-29 22:10:13 +02:00
Meritoo
bbd466610c
Tests - add missing tests of Participants::addParticipant() method for not existing survey
2017-09-29 19:47:42 +02:00
Meritoo
d54765b378
SurveyService - getAllSurveys() method - catch and serve an exception while fetching all surveys
2017-09-29 16:55:04 +02:00
Meritoo
ab328b96ee
ParticipantService - getSurveyParticipants() method - catch and serve an exception while fetching participants of given survey
2017-09-29 15:18:31 +02:00
Meritoo
cacb2b3b92
ParticipantService - getParticipant() method - get all participants of survey first (to avoid problem when participants exist but are not loaded)
2017-09-29 14:20:31 +02:00
Meritoo
dfa64fee43
ParticipantService - getParticipant() & hasParticipantFilledSurvey() methods - returns participant of survey & information if participant has filled survey
2017-09-29 13:35:26 +02:00
Meritoo
4f26bca282
Minor refactoring
2017-09-29 10:31:04 +02:00
Meritoo
dbd0a65286
composer.json - move tests-related classes to "autoload-dev" section (used for development purposes only and avoid polluting the autoloader in production)
2017-09-29 09:24:57 +02:00