ILIAS  release_7 Revision v7.30-3-g800a261c036
ilMyTestResultsGUI Class Reference
+ Collaboration diagram for ilMyTestResultsGUI:

Public Member Functions

 getTestObj ()
 
 setTestObj ($testObj)
 
 getTestAccess ()
 
 setTestAccess ($testAccess)
 
 getTestSession ()
 
 setTestSession ($testSession)
 
 getObjectiveParent ()
 
 setObjectiveParent ($objectiveParent)
 
 executeCommand ()
 Execute Command. More...
 

Data Fields

const EVALGUI_CMD_SHOW_PASS_OVERVIEW = 'outUserResultsOverview'
 command constants More...
 

Protected Attributes

 $testObj
 
 $testAccess
 
 $testSession
 
 $objectiveParent
 

Detailed Description

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

Member Function Documentation

◆ executeCommand()

ilMyTestResultsGUI::executeCommand ( )

Execute Command.

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

113 {
114 global $DIC; /* @var ILIAS\DI\Container $DIC */
115
116 if (!$DIC->ctrl()->getCmd()) {
117 $DIC->ctrl()->setCmd(self::EVALGUI_CMD_SHOW_PASS_OVERVIEW);
118 }
119
120 switch ($DIC->ctrl()->getNextClass()) {
121 case "iltestevaluationgui":
122 require_once 'Modules/Test/classes/class.ilTestEvaluationGUI.php';
123 $gui = new ilTestEvaluationGUI($this->getTestObj());
124 $gui->setObjectiveOrientedContainer($this->getObjectiveParent());
125 $gui->setTestAccess($this->getTestAccess());
126 $DIC->ctrl()->forwardCommand($gui);
127 break;
128
129 case 'ilassquestionpagegui':
130 require_once 'Modules/Test/classes/class.ilAssQuestionPageCommandForwarder.php';
131 $forwarder = new ilAssQuestionPageCommandForwarder();
132 $forwarder->setTestObj($this->getTestObj());
133 $forwarder->forward();
134 break;
135 }
136 }
Output class for assessment test evaluation.
global $DIC
Definition: goto.php:24

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

+ Here is the call graph for this function:

◆ getObjectiveParent()

ilMyTestResultsGUI::getObjectiveParent ( )
Returns
ilTestObjectiveOrientedContainer

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

References $objectiveParent.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestAccess()

ilMyTestResultsGUI::getTestAccess ( )
Returns
ilTestAccess

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

References $testAccess.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestObj()

ilMyTestResultsGUI::getTestObj ( )
Returns
ilObjTest

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

References $testObj.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestSession()

ilMyTestResultsGUI::getTestSession ( )
Returns
ilTestSession

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

References $testSession.

◆ setObjectiveParent()

ilMyTestResultsGUI::setObjectiveParent (   $objectiveParent)
Parameters
ilTestObjectiveOrientedContainer$objectiveParent

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

105 {
106 $this->objectiveParent = $objectiveParent;
107 }

References $objectiveParent.

◆ setTestAccess()

ilMyTestResultsGUI::setTestAccess (   $testAccess)
Parameters
ilTestAccess$testAccess

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

73 {
74 $this->testAccess = $testAccess;
75 }

References $testAccess.

◆ setTestObj()

ilMyTestResultsGUI::setTestObj (   $testObj)
Parameters
ilObjTest$testObj

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

57 {
58 $this->testObj = $testObj;
59 }

References $testObj.

◆ setTestSession()

ilMyTestResultsGUI::setTestSession (   $testSession)
Parameters
ilTestSession$testSession

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

89 {
90 $this->testSession = $testSession;
91 }

References $testSession.

Field Documentation

◆ $objectiveParent

ilMyTestResultsGUI::$objectiveParent
protected

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

Referenced by getObjectiveParent(), and setObjectiveParent().

◆ $testAccess

ilMyTestResultsGUI::$testAccess
protected

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

Referenced by getTestAccess(), and setTestAccess().

◆ $testObj

ilMyTestResultsGUI::$testObj
protected

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

Referenced by getTestObj(), and setTestObj().

◆ $testSession

ilMyTestResultsGUI::$testSession
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'

command constants

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


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