ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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 34 of file class.ilMyTestResultsGUI.php.

Member Function Documentation

◆ executeCommand()

ilMyTestResultsGUI::executeCommand ( )

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

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

83  : void
84  {
85  /* @var ILIAS\DI\Container $DIC */
86  global $DIC;
87 
88  if (!$DIC->ctrl()->getCmd()) {
89  $DIC->ctrl()->setCmd(self::EVALGUI_CMD_SHOW_PASS_OVERVIEW);
90  }
91 
92  switch ($DIC->ctrl()->getNextClass()) {
93  case "iltestevaluationgui":
94  $gui = new ilTestEvaluationGUI($this->getTestObj());
95  $gui->setObjectiveOrientedContainer($this->getObjectiveParent());
96  $gui->setTestAccess($this->getTestAccess());
97  $DIC->ctrl()->forwardCommand($gui);
98  break;
99 
100  case 'ilassquestionpagegui':
101  $forwarder = new ilAssQuestionPageCommandForwarder();
102  $forwarder->setTestObj($this->getTestObj());
103  $forwarder->forward();
104  break;
105  }
106  }
global $DIC
Definition: feed.php:28
Output class for assessment test evaluation.
+ Here is the call graph for this function:

◆ getObjectiveParent()

ilMyTestResultsGUI::getObjectiveParent ( )

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

References $objectiveParent.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestAccess()

ilMyTestResultsGUI::getTestAccess ( )

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

References $testAccess.

Referenced by executeCommand().

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

◆ getTestObj()

ilMyTestResultsGUI::getTestObj ( )

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

References $testObj.

Referenced by executeCommand().

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

◆ getTestSession()

ilMyTestResultsGUI::getTestSession ( )

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

References $testSession.

63  : ?ilTestSession
64  {
65  return $this->testSession;
66  }

◆ setObjectiveParent()

ilMyTestResultsGUI::setObjectiveParent ( ilTestObjectiveOrientedContainer  $objectiveParent)

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

References $objectiveParent.

78  : void
79  {
80  $this->objectiveParent = $objectiveParent;
81  }
ilTestObjectiveOrientedContainer $objectiveParent

◆ setTestAccess()

ilMyTestResultsGUI::setTestAccess ( ilTestAccess  $testAccess)

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

References $testAccess.

58  : void
59  {
60  $this->testAccess = $testAccess;
61  }

◆ setTestObj()

ilMyTestResultsGUI::setTestObj ( ilObjTest  $testObj)

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

References $testObj.

48  : void
49  {
50  $this->testObj = $testObj;
51  }

◆ setTestSession()

ilMyTestResultsGUI::setTestSession ( ilTestSession  $testSession)

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

References $testSession.

68  : void
69  {
70  $this->testSession = $testSession;
71  }

Field Documentation

◆ $objectiveParent

ilTestObjectiveOrientedContainer ilMyTestResultsGUI::$objectiveParent = null
protected

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

Referenced by getObjectiveParent(), and setObjectiveParent().

◆ $testAccess

ilTestAccess ilMyTestResultsGUI::$testAccess = null
protected

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

Referenced by getTestAccess(), and setTestAccess().

◆ $testObj

ilObjTest ilMyTestResultsGUI::$testObj = null
protected

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

Referenced by getTestObj(), and setTestObj().

◆ $testSession

ilTestSession ilMyTestResultsGUI::$testSession = null
protected

Definition at line 40 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 36 of file class.ilMyTestResultsGUI.php.


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