81 if ($this->testQuestionSetConfig ===
null) {
82 switch ($questionSetType) {
85 require_once
'Modules/Test/classes/class.ilTestFixedQuestionSetConfig.php';
96 require_once
'Modules/Test/classes/class.ilTestRandomQuestionSetConfig.php';
107 require_once
'Modules/Test/classes/class.ilObjTestDynamicQuestionSetConfig.php';
117 $this->testQuestionSetConfig->loadFromDb();
An exception for terminatinating execution or to throw for unit testing.
const QUESTION_SET_TYPE_DYNAMIC
type setting value for dynamic question set (continues testing mode)
const QUESTION_SET_TYPE_RANDOM
type setting value for random question set
const QUESTION_SET_TYPE_FIXED
type setting value for fixed question set
Administration class for plugins.
__construct(ilTree $tree, ilDBInterface $db, ilPluginAdmin $pluginAdmin, ilObjTest $testOBJ)
constructor
getQuestionSetConfigByType($questionSetType)
creates and returns an instance of a test question set config that corresponds to the passed question...
getQuestionSetConfig()
creates and returns an instance of a test question set config that corresponds to the test's current ...
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...