RenderListComment

Extends \QuestionBaseRenderer

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

package

Default

Methods

__construct

__construct( $aFieldArray,  $bRenderDirect = false) 
inherited

Arguments

$aFieldArray

$bRenderDirect

addScript

addScript( $name,  $content,  $position = \LSYii_ClientScript::POS_BEGIN,  $appendId = false) 
inherited

Arguments

$name

$content

$position

$appendId

applyPackages

applyPackages() 
inherited

applyScriptfiles

applyScriptfiles() 
inherited

applyScripts

applyScripts() 
inherited

applyStyles

applyStyles() 
inherited

{@inheritdoc}

attributeNames() 
inherited

findOne

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

Arguments

$pk

string

primary key of model

Response

null|static

getAnswerCount

getAnswerCount( $iScaleId) 
inherited

Arguments

$iScaleId

Return class of a specific row (hidden by relevance)

getCurrentRelevecanceClass(string $myfname) : string
inherited

Arguments

$myfname

string

The name of the question/row to test

Response

string

getFromSurveySession

getFromSurveySession( $sIndex,  $default = "") 
inherited

Arguments

$sIndex

$default

Find the label / input width

getLabelInputWidth() : array
inherited

Response

array

labelWidth as integer,inputWidth as integer,defaultWidth as boolean

getMainView

getMainView() 
inherited abstract

getQuestionAttribute

getQuestionAttribute( $key1,  $key2 = null) 
inherited

Arguments

$key1

$key2

getQuestionCount

getQuestionCount( $iScaleId) 
inherited

Arguments

$iScaleId

getRows

getRows() 
inherited abstract

getTimeSettingRender

getTimeSettingRender() 
inherited

Include Keypad headers

includeKeypad() 
inherited

Models attributes as array indexed by primary key

modelsAttributes() : array
inherited static

Response

array

registerAssets

registerAssets() 
inherited

render

render() 
inherited abstract

renderDropdown

renderDropdown( $sCoreClasses) 

Arguments

$sCoreClasses

renderList

renderList( $sCoreClasses) 

Arguments

$sCoreClasses

setAnsweroptions

setAnsweroptions( $scale_id = null) 
inherited

Arguments

$scale_id

setDefaultIfEmpty

setDefaultIfEmpty( $value,  $default) 
inherited

Arguments

$value

$default

setSubquestions

setSubquestions( $scale_id = null) 
inherited

Arguments

$scale_id

Properties

sCoreClass

sCoreClass : 
inherited

Type(s)

checkconditionFunction

checkconditionFunction : 
inherited

Type(s)

maxoptionsize

maxoptionsize : 

Type(s)

oQuestion

oQuestion : 
inherited

Type(s)

sSGQA

sSGQA : 
inherited

Type(s)

sHtml

sHtml : 
inherited

Type(s)

bRenderDirect

bRenderDirect : 
inherited

Type(s)

bPreview

bPreview : 
inherited

Type(s)

aFieldArray

aFieldArray : 
inherited

Type(s)

aQuestionAttributes

aQuestionAttributes : 
inherited

Type(s)

aSurveySessionArray

aSurveySessionArray : 
inherited

Type(s)

mSessionValue

mSessionValue : 
inherited

Type(s)

sLanguage

sLanguage : 
inherited

Type(s)

aSubQuestions

aSubQuestions : 
inherited

Type(s)

aAnswerOptions

aAnswerOptions : 
inherited

Type(s)

aPackages

aPackages : 
inherited

Type(s)

aScripts

aScripts : 
inherited

Type(s)

aScriptFiles

aScriptFiles : 
inherited

Type(s)

aStyles

aStyles : 
inherited

Type(s)