ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilTestPlayerRandomQuestionSetGUI.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
32 {
34  {
35  $question_list = new ilAssQuestionList($this->db, $this->lng, $this->refinery, $this->component_repository);
36  $question_list->setParentObjId($this->object->getId());
37  $question_list->setQuestionInstanceTypeFilter(ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES);
38  $question_list->setIncludeQuestionIdsFilter($this->test_sequence->getQuestionIds());
39  return $question_list;
40  }
41 
42  protected function populateQuestionOptionalMessage()
43  {
44  $info = $this->lng->txt('tst_wf_info_optional_question');
45  $info .= ' ' . $this->lng->txt('tst_wf_info_answer_not_adopted');
46  $this->tpl->setOnScreenMessage('info', $info);
47  }
48 }
$info
Definition: entry_point.php:21