53 $this->action =
'update';
55 $this->action =
'create';
69 $this->
setFormAction($this->ctrl->getFormAction($this->parent_gui));
75 $url->setRequired(
true);
81 $show_in_list =
new ilCheckboxInputGUI($this->lng->txt(
"bibl_library_show_in_list"),
'show_in_list');
84 switch ($this->action) {
86 $this->
setTitle($this->lng->txt(
"bibl_settings_new"));
92 $this->
setTitle($this->lng->txt(
"bibl_settings_edit"));
102 'name' => $this->bibl_setting->getName(),
103 'url' => $this->bibl_setting->getUrl(),
104 'img' => $this->bibl_setting->getImg(),
105 'show_in_list' => $this->bibl_setting->getShowInList(),
115 $this->bibl_setting->setName($this->
getInput(
"name"));
116 $this->bibl_setting->setUrl($this->
getInput(
"url"));
117 $this->bibl_setting->setImg($this->
getInput(
"img"));
118 $this->bibl_setting->setShowInList($this->
getInput(
"show_in_list"));
119 switch ($this->action) {
121 $this->bibl_setting->create();
124 $this->bibl_setting->update();
This class represents a text property in a property form.
Create styles array
The data for the language used.