ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilMyTestSolutionsGUI Class Reference
+ Collaboration diagram for ilMyTestSolutionsGUI:

Public Member Functions

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

Data Fields

const EVALGUI_CMD_SHOW_PASS_OVERVIEW = 'outUserListOfAnswerPasses'
 

Protected Attributes

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

Detailed Description

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

Member Function Documentation

◆ executeCommand()

ilMyTestSolutionsGUI::executeCommand ( )

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

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

70  : void
71  {
72  /* @var ILIAS\DI\Container $DIC */
73  global $DIC;
74 
75  if (!$DIC->ctrl()->getCmd()) {
76  $DIC->ctrl()->setCmd(self::EVALGUI_CMD_SHOW_PASS_OVERVIEW);
77  }
78 
79  switch ($DIC->ctrl()->getNextClass()) {
80  case "iltestevaluationgui":
81  $gui = new ilTestEvaluationGUI($this->getTestObj());
82  $gui->setObjectiveOrientedContainer($this->getObjectiveParent());
83  $gui->setTestAccess($this->getTestAccess());
84  $DIC->ctrl()->forwardCommand($gui);
85  break;
86 
87  case 'ilassquestionpagegui':
88  $forwarder = new ilAssQuestionPageCommandForwarder();
89  $forwarder->setTestObj($this->getTestObj());
90  $forwarder->forward();
91  break;
92  }
93  }
global $DIC
Definition: feed.php:28
Output class for assessment test evaluation.
+ Here is the call graph for this function:

◆ getObjectiveParent()

ilMyTestSolutionsGUI::getObjectiveParent ( )

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

References $objectiveParent.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestAccess()

ilMyTestSolutionsGUI::getTestAccess ( )

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

References $testAccess.

Referenced by executeCommand().

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

◆ getTestObj()

ilMyTestSolutionsGUI::getTestObj ( )

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

References $testObj.

Referenced by executeCommand().

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

◆ setObjectiveParent()

ilMyTestSolutionsGUI::setObjectiveParent ( ilTestObjectiveOrientedContainer  $objectiveParent)

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

References $objectiveParent.

65  : void
66  {
67  $this->objectiveParent = $objectiveParent;
68  }
ilTestObjectiveOrientedContainer $objectiveParent

◆ setTestAccess()

ilMyTestSolutionsGUI::setTestAccess ( ilTestAccess  $testAccess)

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

References $testAccess.

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

◆ setTestObj()

ilMyTestSolutionsGUI::setTestObj ( ilObjTest  $testObj)

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

References $testObj.

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

Field Documentation

◆ $objectiveParent

ilTestObjectiveOrientedContainer ilMyTestSolutionsGUI::$objectiveParent = null
protected

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

Referenced by getObjectiveParent(), and setObjectiveParent().

◆ $testAccess

ilTestAccess ilMyTestSolutionsGUI::$testAccess = null
protected

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

Referenced by getTestAccess(), and setTestAccess().

◆ $testObj

ilObjTest ilMyTestSolutionsGUI::$testObj = null
protected

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

Referenced by getTestObj(), and setTestObj().

◆ EVALGUI_CMD_SHOW_PASS_OVERVIEW

const ilMyTestSolutionsGUI::EVALGUI_CMD_SHOW_PASS_OVERVIEW = 'outUserListOfAnswerPasses'

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


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