LimeSurvey API - Master branch

SurveyActivate
in package

Table of Contents

Properties

$app  : LSYii_Application
$permission  : Permission
$survey  : Survey
$surveyAccessModeService  : SurveyAccessModeService
$surveyActivator  : SurveyActivator

Methods

__construct()  : mixed
activate()  : array<string|int, mixed>
restoreData()  : bool
Restores all archived data tables

Properties

Methods

activate()

public activate(int $surveyId[, array<string|int, mixed> $params = [] ][, bool $force = false ]) : array<string|int, mixed>
Parameters
$surveyId : int
$params : array<string|int, mixed> = []
$force : bool = false
Tags
throws
PermissionDeniedException
throws
CException
Return values
array<string|int, mixed>

restoreData()

Restores all archived data tables

public restoreData(int $surveyId[, int|null $timestamp = null ][, bool $preserveIDs = false ]) : bool
Parameters
$surveyId : int
$timestamp : int|null = null
$preserveIDs : bool = false
Tags
throws
CException
Return values
bool

        
On this page

Search results