22 parent::__construct($dic);
43 $dic->language()->loadLanguageModule(
'lhist');
45 return [$this->mainmenu->link($this->
if->identifier(
'mm_pd_lhist'))
46 ->withTitle($this->dic->language()->txt(
"lhist_learning_history"))
47 ->withAction(
$dic->ctrl()->getLinkTargetByClass([
"ilPersonalDesktopGUI",
"ilLearningHistoryGUI"]))
48 ->withParent($this->top_item)
49 ->withNonAvailableReason($this->dic->ui()->factory()->legacy(
"{$this->dic->language()->txt('component_not_active')}"))
50 ->withAvailableCallable(
51 function () use (
$dic) {
52 return (
bool) (
$dic->learningHistory()->isActive());
55 ->withVisibilityCallable(
56 function () use (
$dic) {
57 return (
bool) (
$dic->learningHistory()->isActive(
$dic->user()->getId()));
Class ilStaffGlobalScreenProvider.
Interface StaticMainMenuProvider.
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Class ilPDGlobalScreenProvider.
__construct(\ILIAS\DI\Container $dic)