50 $lng = $this->dic->language();
55 $this->rbacsystem = $this->dic->rbac()->system();
67 $cmd = $this->ctrl->getCmd();
68 if (!$this->rbacsystem->checkAccess(
"visible,read",
$_GET[
'ref_id'])) {
69 $this->error->raiseError($this->lng->txt(
"no_permission"), $this->error->WARNING);
107 public function view()
111 $ilToolbar = $DIC[
'ilToolbar'];
116 $b->setCaption(
'add');
117 $b->setUrl($this->ctrl->getLinkTarget($this,
'add'));
118 $b->setPrimary(
true);
119 $ilToolbar->addButtonInstance($b);
123 $this->parent_gui->tpl->setContent($a_table->getHTML());
140 foreach ($settings as $set) {
142 "id" => $set->getId(),
143 "name" => $set->getName(),
144 "url" => $set->getUrl(),
145 "img" => $set->getImg(),
160 $this->parent_gui->tpl->setContent(
$form->getHTML());
161 $this->parent_gui->getTabsGui()->setTabActive(
'settings');
168 public function delete()
171 $ilBibliographicSetting->delete();
172 $this->ctrl->redirect($this,
'view');
181 $this->ctrl->redirect($this,
'view');
191 $form->setValuesByPost();
192 if (
$form->saveObject()) {
194 $this->ctrl->redirect($this,
'view');
196 $this->parent_gui->tpl->setContent(
$form->getHTML());
206 $form->setValuesByPost();
207 if (
$form->saveObject()) {
209 $this->ctrl->redirect($this,
'view');
211 $this->parent_gui->tpl->setContent(
$form->getHTML());
220 $this->ctrl->saveParameter($this,
'lib_id');
222 $this->parent_gui->tpl->setContent(
$form->getHTML());
246 return (
bool) $DIC->access()->checkAccess($a_perm,
'', $DIC->http()->request()->getQueryParams()[
'ref_id']);
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
Class ilBibliographicSetting.
Base exception class for object service.
Bibliographic ilObjBibliographicAdminTableGUI.
if(isset($_POST['submit'])) $form
Bibliographic Administration Settings.
Create styles array
The data for the language used.
__construct($parent_gui)
Constructor.
if(empty($password)) $table
update()
save changes in library
initTable()
Init Table with library entries.
executeCommand()
Execute command.
checkPermissionBool($a_perm)