ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilTestPlayerRandomQuestionSetGUI.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 $ilPluginAdmin;
27 
28  require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionList.php';
29  $questionList = new ilAssQuestionList($this->db, $this->lng, $ilPluginAdmin);
30 
31  $questionList->setParentObjId($this->object->getId());
32 
33  $questionList->setQuestionInstanceTypeFilter(ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES);
34 
35  $questionList->setIncludeQuestionIdsFilter($this->testSequence->getQuestionIds());
36 
37  return $questionList;
38  }
39 
40  protected function populateQuestionOptionalMessage()
41  {
42  $info = $this->lng->txt('tst_wf_info_optional_question');
43  $info .= ' ' . $this->lng->txt('tst_wf_info_answer_not_adopted');
45  }
46 }
Output class for assessment test execution.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
Create new PHPExcel object
obj_idprivate
$info
Definition: index.php:5