ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilTestPlayerFixedQuestionSetGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'Modules/Test/classes/class.ilTestOutputGUI.php';
5 
23 {
24  protected function buildTestPassQuestionList()
25  {
26  global $DIC;
27  $ilPluginAdmin = $DIC['ilPluginAdmin'];
28 
29  require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionList.php';
30  $questionList = new ilAssQuestionList($this->db, $this->lng, $this->refinery, $ilPluginAdmin);
31  $questionList->setParentObjId($this->object->getId());
32 
33  $questionList->setQuestionInstanceTypeFilter(ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES);
34 
35  return $questionList;
36  }
37 
38  protected function populateQuestionOptionalMessage()
39  {
40  $info = $this->lng->txt('tst_wf_info_optional_question');
41  $info .= ' ' . $this->lng->txt('tst_wf_info_answer_adopted_from_prev_pass');
42  ilUtil::sendInfo($info);
43  }
44 }
Output class for assessment test execution.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
global $DIC
Definition: goto.php:24