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