28     use \ILIAS\components\OrgUnit\ARHelper\DIC;
    37         $this->
object = $library;
    41         if ($this->
object->getId()) {
    55         $this->
setFormAction($this->
ctrl()->getFormActionByClass(ilBiblLibraryGUI::class));
    57         $name->setRequired(
true);
    61         $url->setRequired(
true);
    68             ->txt(
"bibl_library_show_in_list"), 
'show_in_list');
    69         $show_in_list->setValue(
'1');
    71         if ($this->
object->getId()) {
    74             $this->
setTitle($this->
lng()->txt(
"bibl_settings_edit"));
    76             $this->
setTitle($this->
lng()->txt(
"bibl_settings_new"));
    86             'name' => $this->
object->getName(),
    87             'url' => $this->
object->getUrl(),
    88             'img' => $this->
object->getImg(),
    89             'show_in_list' => $this->
object->isShownInList(),
    99         $this->
object->setName($this->
getInput(
"name"));
   100         $this->
object->setUrl($this->
getInput(
"url"));
   101         $this->
object->setImg($this->
getInput(
"img"));
   102         $this->
object->setShowInList((
bool) $this->
getInput(
"show_in_list"));
   103         $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)