55 $ilTabs = $DIC[
'ilTabs'];
56 $ilToolbar = $DIC[
'ilToolbar'];
61 $this->parent_gui = $parent_gui;
62 $this->parent_object = $parent_gui->object;
63 $this->tabs_gui = $this->parent_gui->tabs_gui;
64 $this->toolbar = $ilToolbar;
67 $this->lng->loadLanguageModule(
'user');
68 if (!$this->
ilAccess->checkaccess(
"write",
"", $this->parent_gui->object->getRefId())) {
78 $cmd = $this->ctrl->getCmd();
94 $this->tpl->setContent(
$form->getHTML());
101 $input->
setValue($this->parent_object->getImportId());
102 $form->addItem($input);
103 $form->setFormAction($this->ctrl->getFormAction($this));
104 $form->addCommandButton(
"update", $this->lng->txt(
"save"));
112 $form->setValuesByPost();
113 if (
$form->checkInput()) {
114 $this->parent_object->setImportId(
$form->getItemByPostVar(
"ext_id")->getValue());
115 $this->parent_object->update();
117 $this->ctrl->redirect($this,
"edit");
119 $this->tpl->setContent(
$form->getHTML());
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
This class represents a text property in a property form.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
setValue($a_value)
Set Value.