3 require_once(
'./Services/Form/classes/class.ilPropertyFormGUI.php');
4 require_once(
'./Modules/Bibliographic/classes/class.ilObjBibliographicAdminGUI.php');
52 $this->action =
'update';
54 $this->action =
'create';
67 $this->
setFormAction($this->ctrl->getFormAction($this->parent_gui));
73 $url->setRequired(
true);
79 $show_in_list =
new ilCheckboxInputGUI($this->lng->txt(
"bibl_library_show_in_list"),
'show_in_list');
82 switch ($this->action) {
84 $this->
setTitle($this->lng->txt(
"bibl_settings_new"));
90 $this->
setTitle($this->lng->txt(
"bibl_settings_edit"));
99 'name' => $this->bibl_setting->getName(),
100 'url' => $this->bibl_setting->getUrl(),
101 'img' => $this->bibl_setting->getImg(),
102 'show_in_list' => $this->bibl_setting->getShowInList()
111 $this->bibl_setting->setName($this->
getInput(
"name"));
112 $this->bibl_setting->setUrl($this->
getInput(
"url"));
113 $this->bibl_setting->setImg($this->
getInput(
"img"));
114 $this->bibl_setting->setShowInList($this->
getInput(
"show_in_list"));
115 switch ($this->action) {
117 $this->bibl_setting->create();
120 $this->bibl_setting->update();
This class represents a text property in a property form.
Create styles array
The data for the language used.