LimeSurvey API - Master branch

CopySurveyQuotas
in package

Table of Contents

Properties

$destinationSurvey  : Survey
$sourceSurvey  : Survey

Methods

__construct()  : mixed
copyQuotas()  : int
Copy all quotas for the source survey to the destination survey.

Properties

Methods

copyQuotas()

Copy all quotas for the source survey to the destination survey.

public copyQuotas(array<string|int, mixed> $mappingQuestionIds[, bool $adaptLinks = false ]) : int
Parameters
$mappingQuestionIds : array<string|int, mixed>

A mapping of question IDs between the source and destination surveys. $mappingQuestionIds[sourceQuestionId] = destinationQuestionId; (e.g. $mappingQuestionIds[3520] = 7452;)

$adaptLinks : bool = false

Whether to adapt links in the copied quotas.

Return values
int

amount of copied quotas


        
On this page

Search results