39 parent::__construct($parent_gui, $cmd);
41 $this->gui = $parent_gui;
43 $this->
setId(
'bibl_libraries_tbl');
50 $this->
setRowTemplate(
'tpl.bibl_settings_lib_list_row.html',
'Modules/Bibliographic');
65 $this->tpl->setVariable(
'VAL_LIBRARY_NAME', $a_set[
'name']);
66 $this->tpl->setVariable(
'VAL_LIBRARY_URL', $a_set[
'url']);
67 $this->tpl->setVariable(
'VAL_LIBRARY_IMG', $a_set[
'img']);
68 if ($this->write_access) {
70 $current_selection_list->setListTitle($this->lng->txt(
"actions"));
71 $current_selection_list->setId($a_set[
'id']);
72 $current_selection_list->addItem($this->lng->txt(
"edit"),
"",
$ilCtrl->getLinkTarget($this->gui,
'edit') .
"&lib_id=" . $a_set[
'id']);
73 $current_selection_list->addItem($this->lng->txt(
"delete"),
"",
$ilCtrl->getLinkTarget($this->gui,
'delete') .
"&lib_id=" . $a_set[
'id']);
74 $this->tpl->setVariable(
'VAL_ACTIONS', $current_selection_list->getHTML());
76 $this->tpl->setVariable(
'VAL_ACTIONS',
" ");
setEnableNumInfo($a_val)
Set enable num info.
Bibliographic ilObjBibliographicAdminTableGUI.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
__construct(ilObjBibliographicAdminLibrariesGUI $parent_gui, $cmd, $write_access)
Constructor.
Bibliographic Administration Settings.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
User interface class for advanced drop-down selection lists.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
fillRow($a_set)
Fills table rows with content from $a_set.