27 protected \ILIAS\Glossary\Editing\EditingGUIRequest
$request;
37 $this->
lng = $DIC->language();
38 $this->
access = $DIC->access();
39 $this->nav_history =
$DIC[
"ilNavigationHistory"];
40 $ilCtrl =
$DIC->ctrl();
42 $ilAccess =
$DIC->access();
43 $ilNavigationHistory =
$DIC[
"ilNavigationHistory"];
45 $this->request =
$DIC->glossary()
51 $this->requested_ref_id = $this->request->getRefId();
54 $this->
ctrl = $ilCtrl;
57 $DIC->globalScreen()->tool()->context()->claim()->repository();
60 if (!$ilAccess->checkAccess(
"write",
"", $this->requested_ref_id) &&
61 !$ilAccess->checkAccess(
"edit_content",
"", $this->requested_ref_id) &&
62 !$ilAccess->checkAccess(
"edit_permission",
"", $this->requested_ref_id)) {
66 $ilNavigationHistory->addItem(
67 $this->requested_ref_id,
68 "ilias.php?baseClass=ilGlossaryEditorGUI&ref_id=" . $this->requested_ref_id,
75 $next_class = $this->
ctrl->getNextClass($this);
76 if ($next_class ==
"") {
77 $this->
ctrl->saveParameterByClass(ilObjGlossaryGUI::class,
"ref_id");
78 $this->
ctrl->redirectByClass(ilObjGlossaryGUI::class);
81 switch ($next_class) {
82 case 'ilobjglossarygui':
86 $this->requested_ref_id,
90 $this->
ctrl->forwardCommand($glossary_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...
ILIAS Glossary Editing EditingGUIRequest $request
ilNavigationHistory $nav_history
loadLanguageModule(string $a_module)
Load language module.
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
Last visited history for repository items.
GUI class for ilGlossary.
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...