LimeSurvey API - Master branch

questionIndexHelper
in package

Table of Contents

Properties

$indexItems  : array<string|int, array<string|int, mixed>>
Indexed actual items,
$indexType  : int
Index type : 0 : none, 1 incremental, 2 full
$instance  : questionIndexHelper
Singleton
$iSurveyId  : int
Actual survey ID
$surveyFormat  : string
Survey format : A : all in one, G: Group, S: questions

Methods

getIndexItems()  : array<string|int, mixed>
Get the array of all step for this session
getInstance()  : mixed
__construct()  : mixed
Set the surveyid when construct
getIndexItemsGroups()  : mixed
return the index item in goup by group mode
getIndexItemsQuestions()  : array<string|int, array<string|int, array<string|int, mixed>>>
return the index item in question by question mode

Properties

$indexItems

Indexed actual items,

private array<string|int, array<string|int, mixed>> $indexItems

$indexType

Index type : 0 : none, 1 incremental, 2 full

private int $indexType

indexType

$surveyFormat

Survey format : A : all in one, G: Group, S: questions

private string $surveyFormat

surveyFormat

Methods

getIndexItems()

Get the array of all step for this session

public getIndexItems() : array<string|int, mixed>
Return values
array<string|int, mixed>

__construct()

Set the surveyid when construct

private __construct(mixed $iSurveyId) : mixed
Parameters
$iSurveyId : mixed

getIndexItemsGroups()

return the index item in goup by group mode

private getIndexItemsGroups(int $type) : mixed
Parameters
$type : int

: 0 : None , 1 : Incremental, 2: full

getIndexItemsQuestions()

return the index item in question by question mode

private getIndexItemsQuestions() : array<string|int, array<string|int, array<string|int, mixed>>>
Return values
array<string|int, array<string|int, array<string|int, mixed>>>

: array of question in array of group


        
On this page

Search results