ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ExportFixedQuestionSet.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Test\ExportImport;
22 
30 {
31  protected function initXmlExport()
32  {
33  }
34 
35  protected function populateQuestionSetConfigXml(\ilXmlWriter $xml_writer)
36  {
37  }
38 
39  protected function getQuestionsQtiXml(): string
40  {
41  $question_qti_xml = '';
42 
43  foreach ($this->test_obj->questions as $question_id) {
44  $question_qti_xml .= $this->getQuestionQtiXml($question_id);
45  }
46 
47  return $question_qti_xml;
48  }
49 
50  protected function getQuestionIds(): array
51  {
52  return $this->test_obj->questions;
53  }
54 }
getQuestionQtiXml(int $question_id)
Definition: Export.php:224
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Export class for tests.
Definition: Export.php:39