22 parent::__construct(
$dic);
56 return [$this->mainmenu->link($this->
if->identifier(
'mm_pd_wsp'))
57 ->withTitle($this->dic->language()->txt(
"personal_workspace"))
58 ->withAction(
"ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToWorkspace")
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_personal_workspace"));
An exception for terminatinating execution or to throw for unit testing.
Interface StaticMainMenuProvider.
Class ilPDGlobalScreenProvider.
Class ilWorkspaceGlobalScreenProvider.
getTopItem()
Some other components want to provide Items for the main menu which are located at the PD TopTitem by...
getStaticTopItems()
@inheritDoc
getStaticSubItems()
@inheritDoc
__construct(\ILIAS\DI\Container $dic)
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Interface IdentificationInterface.