32 $title = $this->dic->language()->txt(
"mm_mail");
33 $icon = $this->dic->ui()->factory()->symbol()->icon()->standard(
Standard::MAIL, $title)
34 ->withIsOutlined(
true);
37 $this->mainmenu->link($this->
if->identifier(
'mm_pd_mail'))
39 ->withAction(
"ilias.php?baseClass=ilMailGUI")
43 ->withNonAvailableReason($this->dic->ui()->factory()->legacy(
"{$this->dic->language()->txt('component_not_active')}"))
44 ->withAvailableCallable(
45 function () use (
$dic) {
49 ->withVisibilityCallable(
50 function () use (
$dic) {
51 return $dic->rbac()->system()->checkAccess(
An exception for terminatinating execution or to throw for unit testing.
Interface StaticMainMenuProvider.
Class MailMainBarProvider.
getStaticTopItems()
@inheritDoc
getStaticSubItems()
@inheritDoc
Class StandardTopItemsProvider.
Class for global mail information (e.g.
static getMailObjectRefId()
Determines the reference id of the mail object and stores this information in a local cache variable.
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
This describes the specific behavior of an ILIAS standard icon.