45 $this->
tabs = $DIC[
'ilTabs'];
46 $this->
lng = $DIC->language();
47 $this->
lng->loadLanguageModule(
'adn');
48 $this->
ctrl = $DIC[
'ilCtrl'];
49 $this->rbacsystem = $DIC[
'rbacsystem'];
50 $this->
help = $DIC->help();
53 public function initTabs(
string $tab,
string $subtab = null,
bool $backtab =
false): void
55 $this->
tabs->clearTargets();
58 $this->
help->setScreenIdComponent(
'adn');
59 $this->
help->setScreenId($tab);
60 if (null !== $subtab) {
61 $this->
help->setSubScreenId($subtab);
64 if ($this->rbacsystem->checkAccess(
'visible,read', $this->ref_id)) {
91 if ($this->rbacsystem->checkAccess(
'edit_permission', $this->ref_id)) {
94 $this->
lng->txt(
'perm_settings'),
95 $this->
ctrl->getLinkTargetByClass(array(ilObjAdministrativeNotificationGUI::class, ilPermissionGUI::class),
'perm')
106 $this->
tabs->activateTab($tab);
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...
__construct(int $ref_id)
ilMMTabHandling constructor.
initTabs(string $tab, string $subtab=null, bool $backtab=false)