This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning GUI class for Glossary Editor
- Author
- Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de ilGlossaryEditorGUI: ilObjGlossaryGUI
Definition at line 24 of file class.ilGlossaryEditorGUI.php.
◆ __construct()
ilGlossaryEditorGUI::__construct |
( |
| ) |
|
Definition at line 33 of file class.ilGlossaryEditorGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), and ilLanguage\txt().
37 $this->
lng = $DIC->language();
38 $this->
access = $DIC->access();
39 $this->nav_history = $DIC[
"ilNavigationHistory"];
40 $ilCtrl = $DIC->ctrl();
41 $lng = $DIC->language();
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)) {
65 $ilNavigationHistory->addItem(
66 $this->requested_ref_id,
67 "ilias.php?baseClass=ilGlossaryEditorGUI&ref_id=" . $this->requested_ref_id,
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...
loadLanguageModule(string $a_module)
Load language module.
◆ executeCommand()
ilGlossaryEditorGUI::executeCommand |
( |
| ) |
|
Definition at line 72 of file class.ilGlossaryEditorGUI.php.
References ILIAS\Repository\ctrl().
74 $next_class = $this->
ctrl->getNextClass($this);
75 if ($next_class ==
"") {
76 $this->
ctrl->saveParameterByClass(ilObjGlossaryGUI::class,
"ref_id");
77 $this->
ctrl->redirectByClass(ilObjGlossaryGUI::class);
80 switch ($next_class) {
81 case 'ilobjglossarygui':
85 $this->requested_ref_id,
89 $this->
ctrl->forwardCommand($glossary_gui);
GUI class for ilGlossary.
◆ $access
◆ $ctrl
ilCtrl ilGlossaryEditorGUI::$ctrl |
|
protected |
◆ $lng
◆ $nav_history
◆ $request
ILIAS Glossary Editing EditingGUIRequest ilGlossaryEditorGUI::$request |
|
protected |
◆ $requested_ref_id
int ilGlossaryEditorGUI::$requested_ref_id |
|
protected |
The documentation for this class was generated from the following file: