DataSetMultipleChoiceWithComments

Extends \QuestionBaseDataSet

This is a base class to enable all question tpyes to extend the general settings.

package

Default

Methods

__construct

__construct( $iQuestionId) 
inherited

Arguments

$iQuestionId

{@inheritdoc}

attributeNames() 
inherited

findOne

findOne(string $pk) : null|static
inherited static

Arguments

$pk

string

primary key of model

Response

null|static

Returns a preformatted block of the advanced settings for the question editor

getAdvancedOptions(integer $iQuestionID = null, integer $sQuestionType = null, string $sLanguage = null, string $sQuestionTemplate = null) : array
inherited
Throws
\CException

Arguments

$iQuestionID

integer

$sQuestionType

integer

$sLanguage

string

$sQuestionTemplate

string

Response

array

getClearDefaultSwitch

getClearDefaultSwitch() 
inherited

getEncryptionSwitch

getEncryptionSwitch() 
inherited

Returns a preformatted block of the general settings for the question editor

getGeneralSettingsArray(integer $iQuestionID = null, integer $sQuestionType = null, string $sLanguage = null, null $question_template = null) : array
inherited
Throws
\CException

Arguments

$iQuestionID

integer

$sQuestionType

integer

$sLanguage

string

$question_template

null

Response

array

getMandatorySetting

getMandatorySetting() 
inherited

getOtherSwitch

getOtherSwitch() 
inherited

getQuestionGroupSelector

getQuestionGroupSelector() 
inherited

getQuestionThemeOption

getQuestionThemeOption( $currentSetQuestionTheme = null) 
inherited

Arguments

$currentSetQuestionTheme

getRelevanceEquationInput

getRelevanceEquationInput() 
inherited

getSaveAsDefaultSwitch

getSaveAsDefaultSwitch() 
inherited

getValidationInput

getValidationInput() 
inherited

Models attributes as array indexed by primary key

modelsAttributes() : array
inherited static

Response

array

parseFromAttributeHelper

parseFromAttributeHelper( $sAttributeKey,  $aAttributeArray) 
inherited

Arguments

$sAttributeKey

$aAttributeArray

Properties

iQuestionId

iQuestionId : 
inherited

Type(s)

sQuestionType

sQuestionType : 
inherited

Type(s)

sLanguage

sLanguage : 
inherited

Type(s)

oQuestion

oQuestion : 
inherited

Type(s)

aQuestionAttributes

aQuestionAttributes : 
inherited

Type(s)