ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilMyTestResultsGUI Class Reference
+ Collaboration diagram for ilMyTestResultsGUI:

Public Member Functions

 __construct (private readonly ?ilObjTest $test_obj, private readonly ilTestAccess $test_access, private readonly ilTestObjectiveOrientedContainer $objective_parent, private readonly ilObjUser $user, private readonly ilLanguage $lng, private readonly ilCtrlInterface $ctrl, private readonly ilGlobalTemplateInterface $tpl, private readonly GeneralQuestionPropertiesRepository $questionrepository, private readonly RequestDataCollector $testrequest)
 
 executeCommand ()
 

Private Attributes

const EVALGUI_CMD_SHOW_PASS_OVERVIEW = 'outUserResultsOverview'
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilMyTestResultsGUI::__construct ( private readonly ?ilObjTest  $test_obj,
private readonly ilTestAccess  $test_access,
private readonly ilTestObjectiveOrientedContainer  $objective_parent,
private readonly ilObjUser  $user,
private readonly ilLanguage  $lng,
private readonly ilCtrlInterface  $ctrl,
private readonly ilGlobalTemplateInterface  $tpl,
private readonly GeneralQuestionPropertiesRepository  $questionrepository,
private readonly RequestDataCollector  $testrequest 
)

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

51 {
52 }

Member Function Documentation

◆ executeCommand()

ilMyTestResultsGUI::executeCommand ( )

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

54 : void
55 {
56 switch ($this->ctrl->getNextClass()) {
57 case "iltestevaluationgui":
58 $gui = new ilTestEvaluationGUI($this->test_obj);
59 $gui->setObjectiveOrientedContainer($this->objective_parent);
60 $gui->setTestAccess($this->test_access);
61 if ($this->ctrl->getCmd() === '') {
62 $gui->{self::EVALGUI_CMD_SHOW_PASS_OVERVIEW}();
63 break;
64 }
65 $this->ctrl->forwardCommand($gui);
66 break;
67
68 case 'ilassquestionpagegui':
69 $forwarder = new ilAssQuestionPageCommandForwarder(
70 $this->test_obj,
71 $this->lng,
72 $this->ctrl,
73 $this->tpl,
74 $this->questionrepository,
75 $this->testrequest,
76 $this->user->getId()
77 );
78 $forwarder->forward();
79 break;
80 }
81 }
Output class for assessment test evaluation.

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Field Documentation

◆ EVALGUI_CMD_SHOW_PASS_OVERVIEW

const ilMyTestResultsGUI::EVALGUI_CMD_SHOW_PASS_OVERVIEW = 'outUserResultsOverview'
private

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


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