CopyQuestionValues

Class CopyQuestionValues

This class owns the values to copy a question

package

LimeSurvey\Datavalueobjects

Methods

getOSurvey

getOSurvey(): \Survey

Response

\Survey

getQuestionCode

getQuestionCode(): string

Response

string

getQuestionGroupId

getQuestionGroupId(): integer

Response

integer

getQuestionL10nData

getQuestionL10nData(): \LimeSurvey\Datavalueobjects\array<string,CopyQuestionTextValues>

Response

\LimeSurvey\Datavalueobjects\array

getQuestionPositionInGroup

getQuestionPositionInGroup(): integer

Response

integer

getQuestiontoCopy

getQuestiontoCopy(): \Question

Response

\Question

setOSurvey

setOSurvey(\Survey $oSurvey)

Arguments

$oSurvey

\Survey

setQuestionCode

setQuestionCode(string $questionCode)

Arguments

$questionCode

string

setQuestionGroupId

setQuestionGroupId(integer $questionGroupId)

Arguments

$questionGroupId

integer

setQuestionL10nData

setQuestionL10nData(array $questionL10nData)

Arguments

$questionL10nData

array

setQuestionPositionInGroup

setQuestionPositionInGroup(integer $questionPositionInGroup)

Arguments

$questionPositionInGroup

integer

setQuestiontoCopy

setQuestiontoCopy(\Question $questiontoCopy)

Arguments

$questiontoCopy

\Question

Properties

the question Code

questionCode :string
var

the question Code

Type(s)

string

questionGroup id that the copied question should belong to

questionGroupId :integer
var

questionGroup id that the copied question should belong to

Type(s)

integer

the survey the question belongs to

oSurvey :\Survey
var

the survey the question belongs to

Type(s)

\Survey

the question that should be copied

questiontoCopy :\Question
var

the question that should be copied

Type(s)

\Question

the position for the question on the left menu group

questionPositionInGroup :integer
var

the position for the question on the left menu group

Type(s)

integer

the new question texts

questionL10nData :\LimeSurvey\Datavalueobjects\array<string,CopyQuestionTextValues>
var

the new question texts

Type(s)

\LimeSurvey\Datavalueobjects\array