QuestionBaseDataSet

Extends\StaticModel

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

TODO

: Create an xml based solution to use external question type definitions as well

package

Default

Methods

__construct

__construct( $iQuestionId)

Arguments

$iQuestionId

{@inheritdoc}

attributeNames()
inherited

findOne

findOne(string $pk): null|static
inheritedstatic

Arguments

$pk

string

primary key of model

Response

null|static

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

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

Arguments

$iQuestionID

integer

$sQuestionType

integer

$sLanguage

string

$questionThemeName

null

Response

array

Models attributes as array indexed by primary key

modelsAttributes(): array
inheritedstatic

Response

array

Properties

iQuestionId

iQuestionId :

Type(s)

sQuestionType

sQuestionType :

Type(s)

sLanguage

sLanguage :

Type(s)

oQuestion

oQuestion :

Type(s)