29 protected \ILIAS\DI\Container
$DIC;
31 protected \ilLanguage
$lng;
43 $this->
lng = $DIC->language();
45 $this->
ctrl = $DIC->ctrl();
46 $this->
ctrl->saveParameter($parent_gui,
'arid');
56 abstract public function fillForm(): void;
58 abstract protected function fillObject(): bool;
65 if ($this->
object->getId()) {
66 $this->
object->update();
68 $this->
object->create();
71 return $this->
object->getId();
76 if (!$this->
object->getId()) {
88 private function txt(
string $key): string
90 return $this->
lng->txt($key);
93 private function infoTxt(
string $key): string
95 return $this->
lng->txt($key .
'_info');
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)