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 |
---|
__construct( $aFieldArray, $bRenderDirect = false)
addScript( $name, $content, $position = \LSYii_ClientScript::POS_BEGIN, $appendId = false)
applyPackages()
applyScriptfiles()
applyScripts()
applyStyles()
attributeNames()
findOne(string $pk): null|static
string
primary key of model
null|static
getAnswerCount( $iScaleId)
getCurrentRelevecanceClass(string $myfname): string
string
The name of the question/row to test
string
getDaySelect( $iCurrent)
getFromSurveySession( $sIndex, $default = "")
getHourSelect( $iCurrent, $datepart)
getLabelInputWidth(): array
array
labelWidth as integer,inputWidth as integer,defaultWidth as boolean
getMainView()
getMinuteSelect( $iCurrent, $datepart)
getMonthSelect( $iCurrent)
getQuestionAttribute( $key1, $key2 = null)
getQuestionCount( $iScaleId)
getQuestionScript(): string|null
If "Use for all languages" is set, the base language's script is used.
string|null
getRows()
getTimeSettingRender()
getTranslatorData()
getYearSelect( $iCurrent)
includeKeypad()
modelsAttributes(): array
array
registerAssets()
render()
renderDatepicker( $dateoutput, $coreClass)
renderDropdownDates( $dateoutput, $coreClass)
setDefaultIfEmpty( $value, $default)
setMaxDate()
setMinDate()
setSubquestions( $scale_id = null)
aDateformatDetails :
minDate :
maxDate :
oQuestion :
sSGQA :
sHtml :
bRenderDirect :
bPreview :
sCoreClass :
checkconditionFunction :
aFieldArray :
aQuestionAttributes :
aSurveySessionArray :
mSessionValue :
sLanguage :
aSubQuestions :
aAnswerOptions :
aPackages :
aScripts :
aScriptFiles :
aStyles :