ILIAS  release_8 Revision v8.24
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.

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 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28

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

+ 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().

+ 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().

+ Here is the caller graph for this function:

◆ getTestSession()

ilMyTestResultsGUI::getTestSession ( )

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

62 {
63 return $this->testSession;
64 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References $testSession.

◆ setObjectiveParent()

ilMyTestResultsGUI::setObjectiveParent ( ilTestObjectiveOrientedContainer  $objectiveParent)

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

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

References $objectiveParent.

◆ setTestAccess()

ilMyTestResultsGUI::setTestAccess ( ilTestAccess  $testAccess)

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

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

References $testAccess.

◆ setTestObj()

ilMyTestResultsGUI::setTestObj ( ilObjTest  $testObj)

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

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

References $testObj.

◆ setTestSession()

ilMyTestResultsGUI::setTestSession ( ilTestSession  $testSession)

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

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

References $testSession.

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: