LimeSurvey API - Master branch

SurveyAggregateService
in package

Survey Aggregate Service

Service class for updating survey settings.

Dependencies are injected to enable mocking.

Table of Contents

Properties

$generalSettings  : GeneralSettings
$languageSettings  : LanguageSettings
$proxyExpressionManager  : ProxyExpressionManager
$restMode  : mixed
$templateConfiguration  : TemplateConfiguration
$urlParams  : UrlParams

Methods

__construct()  : mixed
getRestMode()  : mixed
setRestMode()  : mixed
Set REST Mode
update()  : array<string|int, mixed>
Update

Properties

Methods

setRestMode()

Set REST Mode

public setRestMode(bool $restMode) : mixed

In rest mode we have different expecations about data formats. For example datetime objects inputs/output as UTC JSON format Y-m-d\TH:i:s.000\Z.

Parameters
$restMode : bool

        
On this page

Search results