ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilMyTestSolutionsGUI Class Reference
+ Collaboration diagram for ilMyTestSolutionsGUI:

Public Member Functions

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

Data Fields

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

Protected Attributes

 $testObj
 
 $testAccess
 
 $objectiveParent
 

Detailed Description

Definition at line 16 of file class.ilMyTestSolutionsGUI.php.

Member Function Documentation

◆ executeCommand()

ilMyTestSolutionsGUI::executeCommand ( )

Execute Command.

Definition at line 89 of file class.ilMyTestSolutionsGUI.php.

90 {
91 global $DIC; /* @var ILIAS\DI\Container $DIC */
92
93 if (!$DIC->ctrl()->getCmd()) {
94 $DIC->ctrl()->setCmd(self::EVALGUI_CMD_SHOW_PASS_OVERVIEW);
95 }
96
97 switch ($DIC->ctrl()->getNextClass()) {
98 case "iltestevaluationgui":
99 require_once 'Modules/Test/classes/class.ilTestEvaluationGUI.php';
100 $gui = new ilTestEvaluationGUI($this->getTestObj());
101 $gui->setObjectiveOrientedContainer($this->getObjectiveParent());
102 $gui->setTestAccess($this->getTestAccess());
103 $DIC->ctrl()->forwardCommand($gui);
104 break;
105
106 case 'ilassquestionpagegui':
107 require_once 'Modules/Test/classes/class.ilAssQuestionPageCommandForwarder.php';
108 $forwarder = new ilAssQuestionPageCommandForwarder();
109 $forwarder->setTestObj($this->getTestObj());
110 $forwarder->forward();
111 break;
112 }
113 }
Output class for assessment test evaluation.
global $DIC
Definition: saml.php:7

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

+ Here is the call graph for this function:

◆ getObjectiveParent()

ilMyTestSolutionsGUI::getObjectiveParent ( )
Returns
ilTestObjectiveOrientedContainer

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

References $objectiveParent.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestAccess()

ilMyTestSolutionsGUI::getTestAccess ( )
Returns
ilTestAccess

Definition at line 57 of file class.ilMyTestSolutionsGUI.php.

References $testAccess.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestObj()

ilMyTestSolutionsGUI::getTestObj ( )
Returns
ilObjTest

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

References $testObj.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ setObjectiveParent()

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

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

82 {
83 $this->objectiveParent = $objectiveParent;
84 }

References $objectiveParent.

◆ setTestAccess()

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

Definition at line 65 of file class.ilMyTestSolutionsGUI.php.

66 {
67 $this->testAccess = $testAccess;
68 }

References $testAccess.

◆ setTestObj()

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

Definition at line 49 of file class.ilMyTestSolutionsGUI.php.

50 {
51 $this->testObj = $testObj;
52 }

References $testObj.

Field Documentation

◆ $objectiveParent

ilMyTestSolutionsGUI::$objectiveParent
protected

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

Referenced by getObjectiveParent(), and setObjectiveParent().

◆ $testAccess

ilMyTestSolutionsGUI::$testAccess
protected

Definition at line 31 of file class.ilMyTestSolutionsGUI.php.

Referenced by getTestAccess(), and setTestAccess().

◆ $testObj

ilMyTestSolutionsGUI::$testObj
protected

Definition at line 26 of file class.ilMyTestSolutionsGUI.php.

Referenced by getTestObj(), and setTestObj().

◆ EVALGUI_CMD_SHOW_PASS_OVERVIEW

const ilMyTestSolutionsGUI::EVALGUI_CMD_SHOW_PASS_OVERVIEW = 'outUserListOfAnswerPasses'

command constants

Definition at line 21 of file class.ilMyTestSolutionsGUI.php.


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