32 $this->useUnchangedAnswerLabel =
$lng->txt(
'tst_unchanged_answer_is_correct');
An exception for terminatinating execution or to throw for unit testing.
Test Question configuration.
$isUnchangedAnswerPossible
setUseUnchangedAnswerLabel($useUnchangedAnswerLabel)
Return the label to be used for the 'use unchanged answer' checkbox.
setSolutionInitiallyPrefilled($solutionInitiallyPrefilled)
$previousPassSolutionReuseAllowed
$scoreEmptyMcSolutionsEnabled
isSolutionInitiallyPrefilled()
isFormChangeDetectionEnabled()
Return if the detection of form changes is enabled.
setFormChangeDetectionEnabled($enableFormChangeDetection)
Set if the detection of form changes is enabled.
$enableFormChangeDetection
isUnchangedAnswerPossible()
Return if the saving of an unchanged answer is supported with an additional checkbox.
$solutionInitiallyPrefilled
isBackgroundChangeDetectionEnabled()
Return if the detection of background changes is enabled.
getUseUnchangedAnswerLabel()
Return the label to be used for the 'use unchanged answer' checkbox.
__construct()
ilTestQuestionConfig constructor.
isPreviousPassSolutionReuseAllowed()
setBackgroundChangeDetectionEnabled($enableBackgroundChangeDetection)
Set if the detection of background changes is enabled This is set by Java and Flash questions to poll...
setIsUnchangedAnswerPossible($isUnchangedAnswerPossible)
Set if the saving of an unchanged answer is supported with an additional checkbox.
$enableBackgroundChangeDetection
setScoreEmptyMcSolutionsEnabled($scoreEmptyMcSolutionsEnabled)
setWorkedThrough($workedThrough)
setPreviousPassSolutionReuseAllowed($previousPassSolutionReuseAllowed)
isScoreEmptyMcSolutionsEnabled()