53         $cmd = $this->
ctrl->getCmd();
    62                 throw new Exception(
'Unknown command ' . $cmd);
    71         $this->tpl->setContent($form->getHTML());
    77         $form->setFormAction($this->
ctrl->getFormAction($this));
    78         $form->setTitle($this->
txt(
'obj_features'));
    79         $form->addCommandButton(self::CMD_SAVE, $this->
txt(
'save'));
    80         $form->addCommandButton(self::CMD_EDIT, $this->
txt(
'cancel'));
   106         if (!$form->checkInput()) {
   107             $form->setValuesByPost();
   118         $this->tpl->setOnScreenMessage(
"success", $this->
lng->txt(
'service_settings_saved'), 
true);
   119         $this->
ctrl->redirect($this, self::CMD_EDIT);
   122     protected function txt(
string $code): string
   124         return $this->
lng->txt($code);
 
ilObjectService $object_service
 
ilGlobalTemplateInterface $tpl
 
static updateServiceSettingsForm(int $obj_id, ilPropertyFormGUI $form, array $services)
 
addServiceSettingsToForm(ilPropertyFormGUI $form)
 
static initServiceSettingsForm(int $obj_id, ilPropertyFormGUI $form, array $services)
 
editSettings(ilPropertyFormGUI $form=null)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
addCommonFieldsToForm(ilPropertyFormGUI $form)
 
__construct(ilObjFile $object, ilCtrl $ctrl, ilGlobalTemplateInterface $tpl, ilLanguage $lng, ilObjectService $object_service)