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");                  
 
An exception for terminatinating execution or to throw for unit testing.
ADT based-object GUI base class.
editAction(ilADTGroupFormBridge $a_form=null)
Edit object ADT properties.
updateAction()
Parse incoming values and update if valid
initObject()
Init ADT-based object.
initForm()
Init ADT-based form.
prepareFormElements(ilADTGroupFormBridge $a_adt_form)
Prepare/customize form elements.
__construct(ilObjectGUI $a_parent_gui)
Constructor.
static getInstance()
Get singleton.
Class ilObjectGUI Basic methods of all Output classes.
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.