44 $this->tabs = $DIC[
'ilTabs'];
45 $this->lng = $DIC->language();
46 $this->lng->loadLanguageModule(
'adn');
47 $this->ctrl = $DIC[
'ilCtrl'];
48 $this->rbacsystem = $DIC[
'rbacsystem'];
49 $this->
help = $DIC->help();
58 public function initTabs(
string $tab,
string $subtab = null,
bool $backtab =
false, $calling_class =
"")
60 $this->tabs->clearTargets();
63 $this->
help->setScreenIdComponent(
'adn');
64 $this->
help->setScreenId($tab);
65 $this->
help->setSubScreenId($subtab);
67 if ($this->rbacsystem->checkAccess(
'visible,read', $this->ref_id)) {
94 if ($this->rbacsystem->checkAccess(
'edit_permission', $this->ref_id)) {
97 $this->lng->txt(
'perm_settings'),
98 $this->ctrl->getLinkTargetByClass(array(ilObjAdministrativeNotificationGUI::class, ilPermissionGUI::class),
'perm')
109 $this->tabs->activateTab($tab);
initTabs(string $tab, string $subtab=null, bool $backtab=false, $calling_class="")
__construct(int $ref_id)
ilMMTabHandling constructor.