37 protected string $type =
'bibs';
39 protected \ilBiblAdminFactoryFacadeInterface
$facade;
49 public function __construct($a_data,
int $a_id,
bool $a_call_by_reference =
true,
bool $a_prepare_output =
true)
52 $this->
lng->loadLanguageModule(
'bibl');
64 $next_class = $this->
ctrl->getNextClass($this);
65 switch ($next_class) {
66 case 'ilpermissiongui':
68 $this->tabs_gui->activateTab(
'perm_settings');
70 $this->
ctrl->forwardCommand($perm_gui);
72 case strtolower(ilBiblLibraryGUI::class):
74 $this->tabs_gui->activateTab(self::TAB_SETTINGS);
78 case strtolower(ilBiblAdminRisFieldGUI::class):
80 $this->tabs_gui->activateTab(self::TAB_FIELDS);
83 case strtolower(ilBiblAdminBibtexFieldGUI::class):
85 $this->tabs_gui->activateTab(self::TAB_FIELDS);
89 $cmd = $this->
ctrl->getCmd(self::CMD_DEFAULT);
96 protected function view(): void
98 $this->
ctrl->redirectByClass(ilBiblAdminRisFieldGUI::class);
106 $rbacsystem =
$DIC[
'rbacsystem'];
110 if ($rbacsystem->checkAccess(
'write', $this->object->getRefId())) {
111 $this->tabs_gui->addTab(
'fields', $this->
lng->txt(
'fields'), $this->ctrl->getLinkTargetByClass([
112 ilObjBibliographicAdminGUI::class,
113 ilBiblAdminRisFieldGUI::class,
117 if ($rbacsystem->checkAccess(
'visible,read', $this->object->getRefId())) {
118 $this->tabs_gui->addTab(self::TAB_SETTINGS, $this->
lng->txt(
'settings'), $this->ctrl->getLinkTargetByClass([
119 ilObjBibliographicAdminGUI::class,
120 ilBiblLibraryGUI::class,
123 if ($rbacsystem->checkAccess(
'edit_permission', $this->object->getRefId())) {
124 $this->tabs_gui->addTarget(
'perm_settings', $this->
ctrl->getLinkTargetByClass(
'ilpermissiongui',
'perm'), [],
'ilpermissiongui');
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblAdminFactoryFacadeInterface $facade
setTabsGui(\ilTabsGUI $tabs_gui)
__construct($a_data, int $a_id, bool $a_call_by_reference=true, bool $a_prepare_output=true)
ilObjBibliographicAdminGUI constructor.
Class ilObjectGUI Basic methods of all Output classes.
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
getAdminTabs()
administration tabs show only permissions and trash folder
prepareOutput(bool $show_sub_objects=true)
Class ilObject Basic functions for all objects.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc