84 if ($this->testSequences[$activeId][
$pass] === null) {
85 switch ($this->testOBJ->getQuestionSetType()) {
88 require_once
'Modules/Test/classes/class.ilTestSequenceFixedQuestionSet.php';
92 $this->testOBJ->isRandomTest()
98 require_once
'Modules/Test/classes/class.ilTestSequenceRandomQuestionSet.php';
102 $this->testOBJ->isRandomTest()
108 require_once
'Modules/Test/classes/class.ilTestSequenceDynamicQuestionSet.php';
109 require_once
'Modules/Test/classes/class.ilTestDynamicQuestionSet.php';
122 #$this->testSequence->setPreventCheckedQuestionsFromComingUpEnabled( 123 # $this->testOBJ->isInstantFeedbackAnswerFixationEnabled() 124 #); // checked questions now has to come up any time, so they can be set to unchecked right at this moment 130 return $this->testSequences[$activeId][
$pass];
const QUESTION_SET_TYPE_RANDOM
type setting value for random question set
Administration class for plugins.
__construct(ilDBInterface $db, ilLanguage $lng, ilPluginAdmin $pluginAdmin, ilObjTest $testOBJ)
constructor
getSequenceByTestSession($testSession)
creates and returns an instance of a test sequence that corresponds to the current test mode and the ...
getSequenceByActiveIdAndPass($activeId, $pass)
creates and returns an instance of a test sequence that corresponds to the current test mode and give...
const QUESTION_SET_TYPE_FIXED
type setting value for fixed question set
const QUESTION_SET_TYPE_DYNAMIC
type setting value for dynamic question set (continues testing mode)