53 $this->parent_gui = $parent_gui;
54 $this->parent_object = $parent_gui->object;
55 $this->tabs_gui = $this->parent_gui->tabs_gui;
56 $this->toolbar = $ilToolbar;
59 $this->lng->loadLanguageModule(
'user');
60 if (! $this->ilAccess->checkaccess(
"write",
"", $this->parent_gui->object->getRefId())) {
70 $cmd = $this->ctrl->getCmd();
85 $this->tpl->setContent(
$form->getHTML());
91 $input->
setValue($this->parent_object->getImportId());
92 $form->addItem($input);
93 $form->setFormAction($this->ctrl->getFormAction($this));
94 $form->addCommandButton(
"update", $this->lng->txt(
"save"));
101 $form->setValuesByPost();
102 if (
$form->checkInput()) {
103 $this->parent_object->setImportId(
$form->getItemByPostVar(
"ext_id")->getValue());
104 $this->parent_object->update();
106 $this->ctrl->redirect($this,
"edit");
108 $this->tpl->setContent(
$form->getHTML());