questionIndexHelper

Methods

Set the surveyid when construct

__construct($iSurveyId) 

Arguments

$iSurveyId

getInstance

getInstance() 
static

Get the array of all step for this session

getIndexItems() : array

Response

array

return the index item in goup by group mode

getIndexItemsGroups(integer $type) 

Arguments

$type

integer

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

return the index item in question by question mode

getIndexItemsQuestions() : array[][]

Response

array[][]

: array of question in array of group

Properties

Singleton

instance : \LimeSurvey\Helpers\questionIndexHelper
static

Actual survey id

iSurveyId : int
var

surveyid

Type(s)

int

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

indexType : int
var

indexType

Type(s)

int

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

surveyFormat : string
var

surveyFormat

Type(s)

string

Indexed actual items,

indexItems : array[]
var

Type(s)

array[]