19declare(strict_types=1);
43 $title = $this->dic->
language()->txt(
"mm_mail");
44 $icon = $this->dic->ui()->factory()
50 $this->mainmenu->link($this->
if->identifier(
'mm_pd_mail'))
52 ->withAction(
'ilias.php?baseClass=ilMailGUI')
56 ->withNonAvailableReason(
57 $this->dic->ui()->factory()->legacy($this->dic->language()->txt(
'component_not_active'))
59 ->withAvailableCallable(
60 static function () use (
$dic):
bool {
64 ->withVisibilityCallable(
65 static function () use (
$dic):
bool {
66 return $dic->
rbac()->system()->checkAccess(
user()
Get the current user.
language()
Get interface to the i18n service.
rbac()
Get interface to get interfaces to all things rbac.
Interface StaticMainMenuProvider.
Class MailMainBarProvider.
Class StandardTopItemsProvider.
Class for global mail information (e.g.
static getMailObjectRefId()
if(!file_exists(getcwd() . '/ilias.ini.php'))
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This describes the specific behavior of an ILIAS standard icon.