ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilTestExportFixedQuestionSet.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
28 {
29  protected function initXmlExport()
30  {
31  }
32 
33  protected function populateQuestionSetConfigXml(ilXmlWriter $xmlWriter)
34  {
35  }
36 
37  protected function getQuestionsQtiXml(): string
38  {
39  $questionQtiXml = '';
40 
41  foreach ($this->test_obj->questions as $questionId) {
42  $questionQtiXml .= $this->getQuestionQtiXml($questionId);
43  }
44 
45  return $questionQtiXml;
46  }
47 
48  protected function getQuestionIds(): array
49  {
50  return $this->test_obj->questions;
51  }
52 }
getQuestionQtiXml($questionId)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Export class for tests.