41 $this->
tabs = $DIC[
'ilTabs'];
42 $this->
lng = $DIC->language();
43 $this->
lng->loadLanguageModule(
'adn');
44 $this->
ctrl = $DIC[
'ilCtrl'];
45 $this->rbacsystem = $DIC[
'rbacsystem'];
46 $this->
help = $DIC->help();
49 public function initTabs(
string $tab, ?
string $subtab =
null,
bool $backtab =
false): void
51 $this->
tabs->clearTargets();
54 $this->
help->setScreenIdComponent(
'adn');
55 $this->
help->setScreenId($tab);
56 if (
null !== $subtab) {
57 $this->
help->setSubScreenId($subtab);
60 if ($this->rbacsystem->checkAccess(
'visible,read', $this->ref_id)) {
87 if ($this->rbacsystem->checkAccess(
'edit_permission', $this->ref_id)) {
90 $this->
lng->txt(
'perm_settings'),
91 $this->
ctrl->getLinkTargetByClass([ilObjAdministrativeNotificationGUI::class, ilPermissionGUI::class],
'perm')
102 $this->
tabs->activateTab($tab);
__construct(private int $ref_id)
ilMMTabHandling constructor.
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...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
initTabs(string $tab, ?string $subtab=null, bool $backtab=false)