42 if ($this->
object->getId()) {
56 $this->
setFormAction($this->
ctrl()->getFormActionByClass(ilBiblLibraryGUI::class));
58 $name->setRequired(
true);
62 $url->setRequired(
true);
69 ->txt(
"bibl_library_show_in_list"),
'show_in_list');
70 $show_in_list->setValue(
'1');
72 if ($this->
object->getId()) {
75 $this->
setTitle($this->
lng()->txt(
"bibl_settings_edit"));
77 $this->
setTitle($this->
lng()->txt(
"bibl_settings_new"));
87 'name' => $this->
object->getName(),
88 'url' => $this->
object->getUrl(),
89 'img' => $this->
object->getImg(),
90 'show_in_list' => $this->
object->isShownInList(),
100 $this->
object->setName($this->
getInput(
"name"));
101 $this->
object->setUrl($this->
getInput(
"url"));
102 $this->
object->setImg($this->
getInput(
"img"));
103 $this->
object->setShowInList((
bool) $this->
getInput(
"show_in_list"));
104 $this->
object->store();
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)