25 $this->gui = $a_parent_gui;
53 $tpl->setContent($a_form->getForm()->getHTML());
72 include_once
"Services/Form/classes/class.ilPropertyFormGUI.php";
74 $form->setFormAction($ilCtrl->getFormAction($this->gui,
"updateAction"));
79 $adt_form->setForm($form);
83 $adt_form->addToForm();
84 $adt_form->addJS($tpl);
87 $form->addCommandButton(
"updateAction", $lng->txt(
"save"));
100 $valid = $adt_form->getForm()->checkInput();
102 $old_chksum = $this->
object->getProperties()->getCheckSum();
104 $adt_form->importFromPost();
105 $valid = $adt_form->validate();
107 $changed = ($old_chksum != $this->
object->getProperties()->getCheckSum());
119 if($this->object->update())
126 foreach($this->object->getDBErrors() as $element_id => $codes)
128 $element = $adt_form->getElement($element_id);
131 $element->setExternalErrors($this->object->translateDBErrorCodes($codes));
140 $ilCtrl->redirect($this->gui,
"edit");