40 $main_tpl =
$DIC->ui()->mainTemplate();
42 $this->tpl =
$DIC->ui()->mainTemplate();
43 $this->
ctrl = $DIC->ctrl();
46 $this->tabs_gui =
$DIC->tabs();
47 $this->
toolbar = $DIC->toolbar();
48 $this->
lng = $DIC->language();
50 $this->
lng->loadLanguageModule(
'user');
51 if (!$this->
ilAccess->checkaccess(
"write",
"", $this->parent_gui->getObject()->getRefId())) {
52 $main_tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
"permission_denied"),
true);
58 $cmd = $this->
ctrl->getCmd();
72 public function edit(): void
82 $input->setValue($this->parent_object->getImportId());
96 $this->parent_object->update();
97 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"ext_id_updated"),
true);
98 $this->
ctrl->redirect($this,
"edit");
Class ilAccessHandler Checks access for ILIAS objects.
Class ilCtrl provides processing control methods.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilObjectGUI $parent_gui)
ilAccessHandler $ilAccess
ilGlobalTemplateInterface $tpl
Class ilObjectGUI Basic methods of all Output classes.
Class ilObject Basic functions for all objects.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class represents a text property in a property form.
Interface ilAccessHandler This interface combines all available interfaces which can be called via gl...