ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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 30 of file class.ilMyTestSolutionsGUI.php.

Member Function Documentation

◆ executeCommand()

ilMyTestSolutionsGUI::executeCommand ( )

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

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

68  : void
69  {
70  global $DIC; /* @var ILIAS\DI\Container $DIC */
71 
72  if (!$DIC->ctrl()->getCmd()) {
73  $DIC->ctrl()->setCmd(self::EVALGUI_CMD_SHOW_PASS_OVERVIEW);
74  }
75 
76  switch ($DIC->ctrl()->getNextClass()) {
77  case "iltestevaluationgui":
78  require_once 'Modules/Test/classes/class.ilTestEvaluationGUI.php';
79  $gui = new ilTestEvaluationGUI($this->getTestObj());
80  $gui->setObjectiveOrientedContainer($this->getObjectiveParent());
81  $gui->setTestAccess($this->getTestAccess());
82  $DIC->ctrl()->forwardCommand($gui);
83  break;
84 
85  case 'ilassquestionpagegui':
86  require_once 'Modules/Test/classes/class.ilAssQuestionPageCommandForwarder.php';
87  $forwarder = new ilAssQuestionPageCommandForwarder();
88  $forwarder->setTestObj($this->getTestObj());
89  $forwarder->forward();
90  break;
91  }
92  }
global $DIC
Definition: feed.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ getObjectiveParent()

ilMyTestSolutionsGUI::getObjectiveParent ( )

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

References $objectiveParent.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestAccess()

ilMyTestSolutionsGUI::getTestAccess ( )

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

References $testAccess.

Referenced by executeCommand().

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

◆ getTestObj()

ilMyTestSolutionsGUI::getTestObj ( )

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

References $testObj.

Referenced by executeCommand().

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

◆ setObjectiveParent()

ilMyTestSolutionsGUI::setObjectiveParent ( ilTestObjectiveOrientedContainer  $objectiveParent)

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

References $objectiveParent.

63  : void
64  {
65  $this->objectiveParent = $objectiveParent;
66  }
ilTestObjectiveOrientedContainer $objectiveParent

◆ setTestAccess()

ilMyTestSolutionsGUI::setTestAccess ( ilTestAccess  $testAccess)

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

References $testAccess.

53  : void
54  {
55  $this->testAccess = $testAccess;
56  }

◆ setTestObj()

ilMyTestSolutionsGUI::setTestObj ( ilObjTest  $testObj)

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

References $testObj.

43  : void
44  {
45  $this->testObj = $testObj;
46  }

Field Documentation

◆ $objectiveParent

ilTestObjectiveOrientedContainer ilMyTestSolutionsGUI::$objectiveParent = null
protected

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

Referenced by getObjectiveParent(), and setObjectiveParent().

◆ $testAccess

ilTestAccess ilMyTestSolutionsGUI::$testAccess = null
protected

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

Referenced by getTestAccess(), and setTestAccess().

◆ $testObj

ilObjTest ilMyTestSolutionsGUI::$testObj = null
protected

Definition at line 34 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 32 of file class.ilMyTestSolutionsGUI.php.


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