LimeSurvey API - Master branch

QuestionModelWithL10nsByIdAndLanguageTrait

Table of Contents

Properties

$questionWithL10nsByIdAndLanguage  : mixed

Methods

getQuestionModelCollectionWithL10nsByIdAndLanguage()  : Question
Get question group with L10ns by survey ID
setQuestionModelCollectionWithL10nsByIdAndLanguage()  : void
Set Question Group

Properties

Methods

getQuestionModelCollectionWithL10nsByIdAndLanguage()

Get question group with L10ns by survey ID

public getQuestionModelCollectionWithL10nsByIdAndLanguage(int $id, mixed $language) : Question

Used as a proxy for providing a mock record during testing.

Parameters
$id : int
$language : mixed
Return values
Question

setQuestionModelCollectionWithL10nsByIdAndLanguage()

Set Question Group

public setQuestionModelCollectionWithL10nsByIdAndLanguage(array<string|int, mixed> $collection) : void

Used to set mock record during testing.

Parameters
$collection : array<string|int, mixed>

        
On this page

Search results