Class ilADNTabHandling.
More...
◆ __construct()
ilADNTabHandling::__construct |
( |
int |
$ref_id | ) |
|
◆ initTabs()
ilADNTabHandling::initTabs |
( |
string |
$tab, |
|
|
string |
$subtab = null , |
|
|
bool |
$backtab = false , |
|
|
|
$calling_class = "" |
|
) |
| |
- Parameters
-
string | $tab | |
string | null | $subtab | |
bool | $backtab | |
string | null | $calling_class | |
Definition at line 58 of file class.ilADNTabHandling.php.
59 {
60 $this->tabs->clearTargets();
61
62
63 $this->
help->setScreenIdComponent(
'adn');
64 $this->
help->setScreenId($tab);
65 $this->
help->setSubScreenId($subtab);
66
67 if ($this->rbacsystem->checkAccess('visible,read', $this->ref_id)) {
68 $this->tabs->addTab(
72 );
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93 }
94 if ($this->rbacsystem->checkAccess('edit_permission', $this->ref_id)) {
95 $this->tabs->addTab(
96 'perm_settings',
97 $this->lng->txt('perm_settings'),
98 $this->ctrl->getLinkTargetByClass(array(ilObjAdministrativeNotificationGUI::class, ilPermissionGUI::class), 'perm')
99 );
100 }
101 if ($backtab) {
102
103
104
105
106
107
108 }
109 $this->tabs->activateTab($tab);
110 }
References help(), and ilObjAdministrativeNotificationGUI\TAB_MAIN.
◆ $ctrl
◆ $help
◆ $lng
◆ $rbacsystem
ilADNTabHandling::$rbacsystem |
|
private |
◆ $ref_id
ilADNTabHandling::$ref_id |
|
private |
◆ $tabs
The documentation for this class was generated from the following file: