Class ilADNTabHandling.
More...
◆ __construct()
ilADNTabHandling::__construct |
( |
int |
$ref_id | ) |
|
ilMMTabHandling constructor.
- Parameters
-
Definition at line 39 of file class.ilADNTabHandling.php.
References $DIC, $ref_id, and help().
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();
◆ 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.
References help(), and ilObjAdministrativeNotificationGUI\TAB_MAIN.
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);
◆ $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: