3 require_once(
"./Services/Object/classes/class.ilObjectGUI.php");
4 require_once(
"./Modules/Bibliographic/classes/Admin/class.ilObjBibliographicAdminLibrariesFormGUI.php");
5 require_once(
"./Modules/Bibliographic/classes/Admin/class.ilObjBibliographicAdminTableGUI.php");
6 require_once(
"./Modules/Bibliographic/classes/Admin/class.ilBibliographicSetting.php");
7 require_once(
"./Services/UIComponent/Button/classes/class.ilLinkButton.php");
89 public function view() {
91 $ilToolbar = $DIC[
'ilToolbar'];
96 $b->setCaption(
'add');
97 $b->setUrl($this->ctrl->getLinkTarget($this,
'add'));
99 $ilToolbar->addButtonInstance($b);
101 $this->parent_gui->tpl->setContent($a_table->getHTML());
117 foreach ($settings as $set) {
119 "id" => $set->getId(),
120 "name" => $set->getName(),
121 "url" => $set->getUrl(),
122 "img" => $set->getImg()
136 $this->parent_gui->tpl->setContent($form->getHTML());
137 $this->parent_gui->getTabsGui()->setTabActive(
'settings');
144 public function delete() {
146 $ilBibliographicSetting->delete();
147 $this->ctrl->redirect($this,
'view');
155 $this->ctrl->redirect($this,
'view');
164 $form->setValuesByPost();
165 if ($form->saveObject()) {
167 $this->ctrl->redirect($this,
'view');
169 $this->parent_gui->tpl->setContent($form->getHTML());
178 $form->setValuesByPost();
179 if ($form->saveObject()) {
181 $this->ctrl->redirect($this,
'view');
183 $this->parent_gui->tpl->setContent($form->getHTML());
191 $this->ctrl->saveParameter($this,
'lib_id');
193 $this->parent_gui->tpl->setContent($form->getHTML());
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
Class ilBibliographicSetting.
Bibliographic ilObjBibliographicAdminTableGUI.
Bibliographic Administration Settings.
Create styles array
The data for the language used.
__construct($parent_gui)
Constructor.
update()
save changes in library
initTable()
Init Table with library entries.
executeCommand()
Execute command.