84 if($this->testSequences[$activeId][
$pass] === null)
86 switch( $this->testOBJ->getQuestionSetType() )
90 require_once
'Modules/Test/classes/class.ilTestSequenceFixedQuestionSet.php';
92 $activeId,
$pass, $this->testOBJ->isRandomTest()
98 require_once
'Modules/Test/classes/class.ilTestSequenceRandomQuestionSet.php';
100 $activeId,
$pass, $this->testOBJ->isRandomTest()
106 require_once
'Modules/Test/classes/class.ilTestSequenceDynamicQuestionSet.php';
107 require_once
'Modules/Test/classes/class.ilTestDynamicQuestionSet.php';
109 $this->db, $this->lng, $this->pluginAdmin, $this->testOBJ
112 $this->db, $questionSet, $activeId
115 #$this->testSequence->setPreventCheckedQuestionsFromComingUpEnabled( 116 # $this->testOBJ->isInstantFeedbackAnswerFixationEnabled() 117 #); // checked questions now has to come up any time, so they can be set to unchecked right at this moment 123 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 ...
Create styles array
The data for the language used.
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)