27 use \ILIAS\Modules\OrgUnit\ARHelper\DIC;
36 $this->
setTitle($this->
lng()->txt(
'bibl_settings_libraries'));
37 $this->
setId(
'bibl_libraries_tbl');
41 $this->
setRowTemplate(
'tpl.bibl_settings_lib_list_row.html',
'Modules/Bibliographic');
45 public function fillRow(array $a_set): void
47 $this->tpl->setVariable(
'VAL_LIBRARY_NAME', $a_set[
'name']);
48 $this->tpl->setVariable(
'VAL_LIBRARY_URL', $a_set[
'url']);
49 $this->tpl->setVariable(
'VAL_LIBRARY_IMG', $a_set[
'img']);
51 if ($this->checkPermissionBoolAndReturn(
'write')) {
54 $action_entries[
'edit'] = $this->
ui()->factory()->button()->shy(
59 $action_entries[
'delete'] = $this->
ui()->factory()->button()->shy(
64 $actions = $this->
ui()->factory()->dropdown()->standard($action_entries)->withLabel($this->
lng->txt(
"actions"));
65 $rendered_actions = $this->
ui()->renderer()->render($actions);
67 $this->tpl->setVariable(
'VAL_ACTIONS', $rendered_actions);
69 $this->tpl->setVariable(
'VAL_ACTIONS',
" ");
76 $this->
addColumn($this->
lng()->txt(
'bibl_library_name'),
'',
'30%');
77 $this->
addColumn($this->
lng()->txt(
'bibl_library_url'),
'30%');
78 $this->
addColumn($this->
lng()->txt(
'bibl_library_img'),
'',
'30%');
79 $this->
addColumn($this->
lng()->txt(
'actions'),
'',
'8%');
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setFormAction(string $a_form_action, bool $a_multipart=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
setEnableNumInfo(bool $a_val)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
__construct(ilBiblLibraryGUI $parent_gui)
ilObjBibliographicAdminTableGUI constructor.