45 public function __construct($a_data, $a_id, $a_call_by_reference =
true, $a_prepare_output =
true)
47 parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
49 $this->lng->loadLanguageModule(
'bibl');
61 $next_class = $this->ctrl->getNextClass($this);
62 switch ($next_class) {
63 case 'ilpermissiongui':
65 $this->tabs_gui->activateTab(
'perm_settings');
67 $this->ctrl->forwardCommand($perm_gui);
69 case strtolower(ilBiblLibraryGUI::class):
71 $this->tabs_gui->activateTab(self::TAB_SETTINGS);
75 case strtolower(ilBiblAdminRisFieldGUI::class):
77 $this->tabs_gui->activateTab(self::TAB_FIELDS);
80 case strtolower(ilBiblAdminBibtexFieldGUI::class):
82 $this->tabs_gui->activateTab(self::TAB_FIELDS);
86 $cmd = $this->ctrl->getCmd(self::CMD_DEFAULT);
95 $this->ctrl->redirectByClass(ilBiblAdminRisFieldGUI::class);
102 $rbacsystem = $DIC[
'rbacsystem'];
106 if ($rbacsystem->checkAccess(
'write', $this->object->getRefId())) {
107 $this->tabs_gui->addTab(
'fields', $this->lng->txt(
'fields'), $this->ctrl->getLinkTargetByClass(array(
108 ilObjBibliographicAdminGUI::class,
109 ilBiblAdminRisFieldGUI::class,
113 if ($rbacsystem->checkAccess(
'visible,read', $this->object->getRefId())) {
114 $this->tabs_gui->addTab(self::TAB_SETTINGS, $this->lng->txt(
'settings'), $this->ctrl->getLinkTargetByClass(array(
115 ilObjBibliographicAdminGUI::class,
116 ilBiblLibraryGUI::class,
119 if ($rbacsystem->checkAccess(
'edit_permission', $this->object->getRefId())) {
120 $this->tabs_gui->addTarget(
'perm_settings', $this->ctrl->getLinkTargetByClass(
'ilpermissiongui',
'perm'), array(),
'ilpermissiongui');
Class ilBiblAdminRisFieldGUI.
Bibliographic Administration Settings.
prepareOutput($a_show_subobjects=true)
prepare output
Interface ilBiblAdminFactoryFacade.
Class ilObjectGUI Basic methods of all Output classes.
__construct($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true)
ilObjBibliographicAdminGUI constructor.
Class ilBiblAdminBibtexFieldGUI.
checkPermission($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission and redirect on error.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
Interface ilBiblAdminLibraryFacade.
getAdminTabs()
administration tabs show only permissions and trash folder