22 parent::__construct(
$dic);
56 return [$this->mainmenu->link($this->
if->identifier(
'mm_pd_mail'))
57 ->withTitle($this->dic->language()->txt(
"mail"))
58 ->withAction(
"ilias.php?baseClass=ilMailGUI")
61 ->withNonAvailableReason($this->dic->ui()->factory()->legacy(
"{$this->dic->language()->txt('component_not_active')}"))
62 ->withAvailableCallable(
63 function () use (
$dic) {
64 return (
$dic->user()->getId() != ANONYMOUS_USER_ID);
67 ->withVisibilityCallable(
68 function () use (
$dic) {
69 return $dic->rbac()->system()->checkAccess(
An exception for terminatinating execution or to throw for unit testing.
Interface StaticMainMenuProvider.
Class ilMailGlobalScreenProvider.
getStaticTopItems()
@inheritDoc
__construct(\ILIAS\DI\Container $dic)
getStaticSubItems()
@inheritDoc
getTopItem()
Some other components want to provide Items for the main menu which are located at the PD TopTitem by...
static getMailObjectRefId()
Determines the reference id of the mail object and stores this information in a local cache variable.
Class ilPDGlobalScreenProvider.
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Interface IdentificationInterface.