mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-12 02:11:45 +01:00
[UW-2256] adds criteria parameter
This commit is contained in:
@@ -228,7 +228,7 @@ class SurveyService
|
|||||||
*
|
*
|
||||||
* @throws CannotProcessDataException
|
* @throws CannotProcessDataException
|
||||||
*/
|
*/
|
||||||
public function getSurveyParticipants($surveyId, $onlyCompleted = false)
|
public function getSurveyParticipants($surveyId, $onlyCompleted = false, array $criteria = [])
|
||||||
{
|
{
|
||||||
$hasSurvey = $this
|
$hasSurvey = $this
|
||||||
->allParticipants
|
->allParticipants
|
||||||
@@ -244,6 +244,8 @@ class SurveyService
|
|||||||
$offset,
|
$offset,
|
||||||
$limit,
|
$limit,
|
||||||
$includeUnused,
|
$includeUnused,
|
||||||
|
$attributes = false,
|
||||||
|
$criteria
|
||||||
];
|
];
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user