56 $this->tabs = $DIC[
'ilTabs'];
57 $this->lng = $DIC->language();
58 $this->lng->loadLanguageModule(
'mme');
59 $this->ctrl = $DIC[
'ilCtrl'];
60 $this->tpl = $DIC[
'tpl'];
61 $this->tree = $DIC[
'tree'];
62 $this->rbacsystem = $DIC[
'rbacsystem'];
71 $next_class = $this->ctrl->getNextClass();
73 if ($next_class ==
'') {
74 $this->ctrl->redirectByClass(ilMMTopItemGUI::class);
81 switch ($next_class) {
82 case strtolower(ilPermissionGUI::class):
83 $this->tab_handling->initTabs(self::TAB_PERMISSIONS);
84 $this->tabs->activateTab(self::TAB_PERMISSIONS);
86 $this->ctrl->forwardCommand($perm_gui);
88 case strtolower(ilMMTopItemGUI::class):
90 $this->ctrl->forwardCommand($g);
92 case strtolower(ilMMSubItemGUI::class):
94 $this->ctrl->forwardCommand($g);
__construct()
ilObjMainMenuGUI constructor.
New implementation of ilObjectGUI.
Class ilMMTopItemGUI ilMMSubItemGUI: ilObjMainMenuGUI ilMMSubItemGUI: ilMMItemTranslationGUI.
Class ilMMTopItemGUI ilMMTopItemGUI: ilObjMainMenuGUI ilMMTopItemGUI: ilMMItemTranslationGUI.
prepareOutput($a_show_subobjects=true)
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
assignObject()
create object instance as internal property (repository/workspace switch)