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

Public Member Functions

 __construct (private readonly ?ilObjTest $test_obj, private readonly ilTestAccess $test_access, private readonly ilTestObjectiveOrientedContainer $objective_parent, 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 = 'outUserListOfAnswerPasses'
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

49 {
50 }

Member Function Documentation

◆ executeCommand()

ilMyTestSolutionsGUI::executeCommand ( )

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

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

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

+ Here is the call graph for this function:

Field Documentation

◆ EVALGUI_CMD_SHOW_PASS_OVERVIEW

const ilMyTestSolutionsGUI::EVALGUI_CMD_SHOW_PASS_OVERVIEW = 'outUserListOfAnswerPasses'
private

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


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