ilMDSettingsControllerGUI: ilMDCopyrightConfigurationGUI, ilMDOERSettingsGUI, ilMDVocabulariesGUI
More...
◆ __construct()
◆ executeCommand()
ilMDSettingsControllerGUI::executeCommand |
( |
| ) |
|
Definition at line 53 of file class.ilMDSettingsControllerGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and setTabs().
55 $next_class = $this->
ctrl->getNextClass($this);
56 $cmd = $this->
ctrl->getCmd();
61 !$this->access_service->hasCurrentUserVisibleAccess() ||
62 !$this->access_service->hasCurrentUserReadAccess()
67 switch ($next_class) {
68 case strtolower(ilMDCopyrightConfigurationGUI::class):
71 $this->
ctrl->forwardCommand($gui);
74 case strtolower(ilMDOERSettingsGUI::class):
77 $this->
ctrl->forwardCommand($gui);
80 case strtolower(ilMDVocabulariesGUI::class):
83 $this->
ctrl->forwardCommand($gui);
87 $this->tabs_gui->activateSubTab(self::OER_SETTINGS_TAB);
88 $this->
ctrl->redirectByClass(
89 ilMDOERSettingsGUI::class,
ilMDVocabulariesGUI: ilMDVocabularyUploadHandlerGUI
const string OER_SETTINGS_TAB
const string COPYRIGHT_CONFIG_TAB
const string VOCABULARIES_TAB
ilMDCopyrightConfigurationGUI: ilMDCopyrightUsageGUI, ilMDCopyrightImageUploadHandlerGUI ...
◆ setTabs()
ilMDSettingsControllerGUI::setTabs |
( |
| ) |
|
|
protected |
Definition at line 96 of file class.ilMDSettingsControllerGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by executeCommand().
99 !$this->access_service->hasCurrentUserVisibleAccess() ||
100 !$this->access_service->hasCurrentUserReadAccess()
105 $this->tabs_gui->addSubTab(
106 self::OER_SETTINGS_TAB,
107 $this->
lng->txt(
'md_settings'),
108 $this->
ctrl->getLinkTargetByClass(
109 ilMDOERSettingsGUI::class,
114 $this->tabs_gui->addSubTab(
115 self::COPYRIGHT_CONFIG_TAB,
116 $this->
lng->txt(
'md_copyright_selection'),
117 $this->
ctrl->getLinkTargetByClass(
118 ilMDCopyrightConfigurationGUI::class,
119 'showCopyrightSelection' 123 $this->tabs_gui->addSubTab(
124 self::VOCABULARIES_TAB,
125 $this->
lng->txt(
'md_vocabularies_config'),
126 $this->
ctrl->getLinkTargetByClass(
127 ilMDVocabulariesGUI::class,
◆ $access_service
◆ $ctrl
ilCtrl ilMDSettingsControllerGUI::$ctrl |
|
protected |
◆ $lng
◆ $parent_obj_gui
◆ $tabs_gui
ilTabsGUI ilMDSettingsControllerGUI::$tabs_gui |
|
protected |
◆ COPYRIGHT_CONFIG_TAB
const string ilMDSettingsControllerGUI::COPYRIGHT_CONFIG_TAB = 'md_copyright_config' |
|
protected |
◆ OER_SETTINGS_TAB
const string ilMDSettingsControllerGUI::OER_SETTINGS_TAB = 'md_oer_settings' |
|
protected |
◆ VOCABULARIES_TAB
const string ilMDSettingsControllerGUI::VOCABULARIES_TAB = 'md_vocabularies' |
|
protected |
The documentation for this class was generated from the following file: