22 parent::__construct($dic);
23 $this->top_item = $this->
if->identifier(
'adm');
47 return [$this->mainmenu->topParentItem($this->
getTopItem())
48 ->withTitle($this->dic->language()->txt(
"administration"))
50 ->withVisibilityCallable(
51 function () use (
$dic) {
52 return (
bool) (
$dic->access()->checkAccess(
'visible',
'', SYSTEM_FOLDER_ID));
67 ->complex($this->
if->identifier(
'adm_content'))
68 ->withAsyncContentURL(
"ilias.php?baseClass=ilAdministrationGUI&cmd=getDropDown&cmdMode=asynch")
70 ->withAlwaysAvailable(
true)
71 ->withNonAvailableReason($this->dic->ui()->factory()->legacy(
"{$this->dic->language()->txt('item_must_be_always_active')}"))
72 ->withVisibilityCallable(
73 function () use (
$dic) {
74 return (
bool) (
$dic->rbac()->system()->checkAccess(
"visible", SYSTEM_FOLDER_ID));
76 )->withAvailableCallable(
77 function () use (
$dic) {
78 return (
$dic->user()->getId() != ANONYMOUS_USER_ID);
Interface IdentificationInterface.
Interface StaticMainMenuProvider.
__construct(\ILIAS\DI\Container $dic)
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Class ilAdmGlobalScreenProvider.
getTopItem()
Some other components want to provide Items for the main menu which are located at the PD TopTitem by...