26 protected \ILIAS\GlobalScreen\Services
$gs;
39 $request =
$DIC->exercise()->internal()->gui()->request();
40 $this->requested_ref_id = $request->getRefId();
41 $this->gs =
$DIC->globalScreen();
43 $this->
lng = $DIC->language();
44 $this->
access = $DIC->access();
45 $this->tpl =
$DIC[
"tpl"];
46 $this->nav_history =
$DIC[
"ilNavigationHistory"];
47 $this->
ctrl = $DIC->ctrl();
60 $next_class = $this->
ctrl->getNextClass($this);
61 if ($next_class ==
"") {
62 $this->
ctrl->saveParameterByClass(ilObjExerciseGUI::class,
"ref_id");
63 $this->
ctrl->redirectByClass(ilObjExerciseGUI::class, $this->
ctrl->getCmd());
67 if ($ilAccess->checkAccess(
"read",
"", $this->requested_ref_id)) {
68 $ilNavigationHistory->addItem(
69 $this->requested_ref_id,
70 "ilias.php?baseClass=ilExerciseHandlerGUI&cmd=showOverview&ref_id=" . $this->requested_ref_id,
75 switch ($next_class) {
76 case 'ilobjexercisegui':
77 $this->gs->tool()->context()->claim()->repository();
79 $this->
ctrl->forwardCommand($ex_gui);
Class ilCtrl provides processing control methods.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilGlobalTemplateInterface $tpl
ilNavigationHistory $nav_history
ILIAS GlobalScreen Services $gs
Last visited history for repository items.
printToStdout(string $part=self::DEFAULT_BLOCK, bool $has_tabs=true, bool $skip_main_menu=false)
Interface ilAccessHandler This interface combines all available interfaces which can be called via gl...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc