ILIAS  release_8 Revision v8.23
ilMyTestResultsGUI Class Reference
+ Collaboration diagram for ilMyTestResultsGUI:

Public Member Functions

 getTestObj ()
 
 setTestObj (ilObjTest $testObj)
 
 getTestAccess ()
 
 setTestAccess (ilTestAccess $testAccess)
 
 getTestSession ()
 
 setTestSession (ilTestSession $testSession)
 
 getObjectiveParent ()
 
 setObjectiveParent (ilTestObjectiveOrientedContainer $objectiveParent)
 
 executeCommand ()
 

Data Fields

const EVALGUI_CMD_SHOW_PASS_OVERVIEW = 'outUserResultsOverview'
 

Protected Attributes

ilObjTest $testObj = null
 
ilTestAccess $testAccess = null
 
ilTestSession $testSession = null
 
ilTestObjectiveOrientedContainer $objectiveParent = null
 

Detailed Description

Definition at line 32 of file class.ilMyTestResultsGUI.php.

Member Function Documentation

◆ executeCommand()

ilMyTestResultsGUI::executeCommand ( )

Definition at line 81 of file class.ilMyTestResultsGUI.php.

References $DIC, getObjectiveParent(), getTestAccess(), and getTestObj().

81  : void
82  {
83  global $DIC; /* @var ILIAS\DI\Container $DIC */
84 
85  if (!$DIC->ctrl()->getCmd()) {
86  $DIC->ctrl()->setCmd(self::EVALGUI_CMD_SHOW_PASS_OVERVIEW);
87  }
88 
89  switch ($DIC->ctrl()->getNextClass()) {
90  case "iltestevaluationgui":
91  require_once 'Modules/Test/classes/class.ilTestEvaluationGUI.php';
92  $gui = new ilTestEvaluationGUI($this->getTestObj());
93  $gui->setObjectiveOrientedContainer($this->getObjectiveParent());
94  $gui->setTestAccess($this->getTestAccess());
95  $DIC->ctrl()->forwardCommand($gui);
96  break;
97 
98  case 'ilassquestionpagegui':
99  require_once 'Modules/Test/classes/class.ilAssQuestionPageCommandForwarder.php';
100  $forwarder = new ilAssQuestionPageCommandForwarder();
101  $forwarder->setTestObj($this->getTestObj());
102  $forwarder->forward();
103  break;
104  }
105  }
global $DIC
Definition: feed.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ getObjectiveParent()

ilMyTestResultsGUI::getObjectiveParent ( )

Definition at line 71 of file class.ilMyTestResultsGUI.php.

References $objectiveParent.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestAccess()

ilMyTestResultsGUI::getTestAccess ( )

Definition at line 51 of file class.ilMyTestResultsGUI.php.

References $testAccess.

Referenced by executeCommand().

51  : ?ilTestAccess
52  {
53  return $this->testAccess;
54  }
+ Here is the caller graph for this function:

◆ getTestObj()

ilMyTestResultsGUI::getTestObj ( )

Definition at line 41 of file class.ilMyTestResultsGUI.php.

References $testObj.

Referenced by executeCommand().

41  : ?ilObjTest
42  {
43  return $this->testObj;
44  }
+ Here is the caller graph for this function:

◆ getTestSession()

ilMyTestResultsGUI::getTestSession ( )

Definition at line 61 of file class.ilMyTestResultsGUI.php.

References $testSession.

61  : ?ilTestSession
62  {
63  return $this->testSession;
64  }

◆ setObjectiveParent()

ilMyTestResultsGUI::setObjectiveParent ( ilTestObjectiveOrientedContainer  $objectiveParent)

Definition at line 76 of file class.ilMyTestResultsGUI.php.

References $objectiveParent.

76  : void
77  {
78  $this->objectiveParent = $objectiveParent;
79  }
ilTestObjectiveOrientedContainer $objectiveParent

◆ setTestAccess()

ilMyTestResultsGUI::setTestAccess ( ilTestAccess  $testAccess)

Definition at line 56 of file class.ilMyTestResultsGUI.php.

References $testAccess.

56  : void
57  {
58  $this->testAccess = $testAccess;
59  }

◆ setTestObj()

ilMyTestResultsGUI::setTestObj ( ilObjTest  $testObj)

Definition at line 46 of file class.ilMyTestResultsGUI.php.

References $testObj.

46  : void
47  {
48  $this->testObj = $testObj;
49  }

◆ setTestSession()

ilMyTestResultsGUI::setTestSession ( ilTestSession  $testSession)

Definition at line 66 of file class.ilMyTestResultsGUI.php.

References $testSession.

66  : void
67  {
68  $this->testSession = $testSession;
69  }

Field Documentation

◆ $objectiveParent

ilTestObjectiveOrientedContainer ilMyTestResultsGUI::$objectiveParent = null
protected

Definition at line 39 of file class.ilMyTestResultsGUI.php.

Referenced by getObjectiveParent(), and setObjectiveParent().

◆ $testAccess

ilTestAccess ilMyTestResultsGUI::$testAccess = null
protected

Definition at line 37 of file class.ilMyTestResultsGUI.php.

Referenced by getTestAccess(), and setTestAccess().

◆ $testObj

ilObjTest ilMyTestResultsGUI::$testObj = null
protected

Definition at line 36 of file class.ilMyTestResultsGUI.php.

Referenced by getTestObj(), and setTestObj().

◆ $testSession

ilTestSession ilMyTestResultsGUI::$testSession = null
protected

Definition at line 38 of file class.ilMyTestResultsGUI.php.

Referenced by getTestSession(), and setTestSession().

◆ EVALGUI_CMD_SHOW_PASS_OVERVIEW

const ilMyTestResultsGUI::EVALGUI_CMD_SHOW_PASS_OVERVIEW = 'outUserResultsOverview'

Definition at line 34 of file class.ilMyTestResultsGUI.php.


The documentation for this class was generated from the following file: