LimeSurvey API - Master branch

ParticipantBlacklistHandler
in package

Table of Contents

Methods

addToBlacklist()  : BlacklistResult
getCentralParticipantFromToken()  : Participant|null
Returns the CPDB participant corresponding to the given Token.
isTokenBlacklisted()  : bool
Returns true if the token is globally blocklisted
removeFromBlacklist()  : BlacklistResult
optoutParticipantFromAllSurveys()  : array<string|int, int>
Marks the participant as "opted out" on all surveys currently present in the system that use tokens
removeParticipantFromAllSurveys()  : array<string|int, int>
Removes the participant from all surveys currently present in the system that use tokens

Methods

optoutParticipantFromAllSurveys()

Marks the participant as "opted out" on all surveys currently present in the system that use tokens

private optoutParticipantFromAllSurveys(Participant $participant) : array<string|int, int>
Parameters
$participant : Participant
Return values
array<string|int, int>

the list of survey IDs from which the participant was opted out

removeParticipantFromAllSurveys()

Removes the participant from all surveys currently present in the system that use tokens

private removeParticipantFromAllSurveys(Participant $participant) : array<string|int, int>
Parameters
$participant : Participant
Return values
array<string|int, int>

the list of survey IDs from which the participant was removed


        
On this page

Search results