LimeSurvey API - Master branch

LanguageConsistency
in package

Survey Updater Service language consistency

Dependencies are injected to enable mocking.

Table of Contents

Properties

$modelSurveyLanguageSetting  : SurveyLanguageSetting
$yiiApp  : LSYii_Application

Methods

__construct()  : mixed
update()  : void
Update
cleanup()  : void
Update
updateLanguage()  : void
Update

Properties

Methods

cleanup()

Update

private cleanup(Survey $survey, string $initBaseLanguage, array<string|int, mixed> $aAvailableLanguages) : void
Parameters
$survey : Survey
$initBaseLanguage : string
$aAvailableLanguages : array<string|int, mixed>

updateLanguage()

Update

private updateLanguage(Survey $survey, string $sLang, string $surveyTitle) : void
Parameters
$survey : Survey
$sLang : string
$surveyTitle : string

        
On this page

Search results