◆ __construct()
ilTestExportFactory::__construct |
( |
ilObjTest |
$testOBJ | ) |
|
◆ getExporter()
ilTestExportFactory::getExporter |
( |
|
$mode = "xml" | ) |
|
- Parameters
-
- Returns
- ilTestExportDynamicQuestionSet|ilTestExportFixedQuestionSet|ilTestExportRandomQuestionSet
Definition at line 27 of file class.ilTestExportFactory.php.
References ilObjTest\QUESTION_SET_TYPE_DYNAMIC, ilObjTest\QUESTION_SET_TYPE_FIXED, and ilObjTest\QUESTION_SET_TYPE_RANDOM.
29 switch ($this->testOBJ->getQuestionSetType()) {
32 require_once
'Modules/Test/classes/class.ilTestExportFixedQuestionSet.php';
37 require_once
'Modules/Test/classes/class.ilTestExportRandomQuestionSet.php';
42 require_once
'Modules/Test/classes/class.ilTestExportDynamicQuestionSet.php';
const QUESTION_SET_TYPE_RANDOM
type setting value for random question set
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)
◆ $testOBJ
ilTestExportFactory::$testOBJ |
|
protected |
The documentation for this class was generated from the following file: