ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilTestPlayerRandomQuestionSetGUI.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
34 {
36  {
37  $question_list = new ilAssQuestionList($this->db, $this->lng, $this->refinery, $this->component_repository);
38  $question_list->setParentObjId($this->object->getId());
39  $question_list->setQuestionInstanceTypeFilter(ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES);
40  $question_list->setIncludeQuestionIdsFilter($this->testSequence->getQuestionIds());
41  return $question_list;
42  }
43 
44  protected function populateQuestionOptionalMessage()
45  {
46  $info = $this->lng->txt('tst_wf_info_optional_question');
47  $info .= ' ' . $this->lng->txt('tst_wf_info_answer_not_adopted');
48  $this->tpl->setOnScreenMessage('info', $info);
49  }
50 }
Output class for assessment test execution.