22 parent::__construct(
$dic);
56 return [$this->mainmenu->link($this->
if->identifier(
'mm_pd_bookm'))
57 ->withTitle($this->dic->language()->txt(
"bookmarks"))
58 ->withAction(
"ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToBookmarks")
61 ->withNonAvailableReason($this->dic->ui()->factory()->legacy(
"{$this->dic->language()->txt('component_not_active')}"))
62 ->withAvailableCallable(
63 function () use (
$dic) {
64 return (
bool) !
$dic->settings()->get(
"disable_bookmarks");
An exception for terminatinating execution or to throw for unit testing.
Interface StaticMainMenuProvider.
Class ilBookmarkGlobalScreenProvider.
__construct(\ILIAS\DI\Container $dic)
getTopItem()
Some other components want to provide Items for the main menu which are located at the PD TopTitem by...
getStaticSubItems()
@inheritDoc
getStaticTopItems()
@inheritDoc
Class ilPDGlobalScreenProvider.
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Interface IdentificationInterface.