questionIndexHelper

package

Default

Methods

Set the surveyid when construct

__construct( $iSurveyId) 

Arguments

$iSurveyId

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<mixed,array[]>

Response

array<mixed,array[]>

: array of question in array of group

getInstance

getInstance() 
static

Properties

Singleton

instance : \LimeSurvey\Helpers\questionIndexHelper
static

Actual survey id

iSurveyId : integer
var

surveyid

Type(s)

integer

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

indexType : integer
var

indexType

Type(s)

integer

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

surveyFormat : string
var

surveyFormat

Type(s)

string

Indexed actual items,

indexItems : array<mixed,array>
var

Type(s)

array<mixed,array>