19declare(strict_types=1);
45 $this->
lng->loadLanguageModule(
"meta");
50 $next_class = $this->
ctrl->getNextClass($this);
51 $cmd = $this->
ctrl->getCmd();
56 !$this->access_service->hasCurrentUserReadAccess()
61 switch ($next_class) {
62 case strtolower(ilMDSettingsControllerGUI::class):
63 $this->tabs_gui->activateTab(
'md_copyright_oer');
65 $this->
ctrl->forwardCommand($gui);
68 case strtolower(ilAdvancedMDSettingsGUI::class):
69 $this->tabs_gui->activateTab(
'md_advanced');
74 $this->
ctrl->forwardCommand($adv_md);
77 case strtolower(ilPermissionGUI::class):
78 $this->tabs_gui->activateTab(
'perm_settings');
80 $this->
ctrl->forwardCommand($perm_gui);
84 $this->tabs_gui->activateTab(
'md_copyright_oer');
85 $this->
ctrl->redirectByClass(
86 ilMDSettingsControllerGUI::class,
106 $this->access_service->hasCurrentUserReadAccess()
108 $this->tabs_gui->addTab(
110 $this->
lng->txt(
'md_copyright_admin_tab'),
111 $this->ctrl->getLinkTargetByClass(ilMDSettingsControllerGUI::class,
'esrdtfyghujk')
114 $this->tabs_gui->addTab(
116 $this->
lng->txt(
'md_advanced'),
117 $this->ctrl->getLinkTargetByClass(ilAdvancedMDSettingsGUI::class,
'')
121 if ($this->access_service->hasCurrentUserPermissionsAccess()) {
122 $this->tabs_gui->addTab(
124 $this->
lng->txt(
'perm_settings'),
125 $this->ctrl->getLinkTargetByClass(ilPermissionGUI::class,
'perm')
132 if (!isset($this->md_settings)) {
const CONTEXT_ADMINISTRATION
@ilCtrl_Calls ilMDSettingsControllerGUI: ilMDCopyrightConfigurationGUI, ilMDOERSettingsGUI,...
getAdminTabs()
administration tabs show only permissions and trash folder
ilMDSettings $md_settings
__construct( $data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true)
ilMDSettingsAccessService $access_service
Class ilObjectGUI Basic methods of all Output classes.
prepareOutput(bool $show_sub_objects=true)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc