19 declare(strict_types=0);
51 $title = $this->dic->language()->txt(
"mm_learning_progress");
52 $icon = $this->dic->ui()->factory()->symbol()->icon()->standard(
59 $this->mainmenu->link($this->
if->identifier(
'mm_pd_lp'))
62 $ctrl->getLinkTargetByClass(
64 ilDashboardGUI::class,
65 ilAchievementsGUI::class,
66 ilLPPersonalGUI::class
72 )->getAchievementsIdentification()
76 ->withNonAvailableReason(
77 $this->dic->ui()->factory()->legacy()->content(
78 "{$this->dic->language()->txt('component_not_active')}"
static _hasLearningProgressLearner()
if(!file_exists('../ilias.ini.php'))
withAvailableCallable(callable $is_available)
Interface StaticMainMenuProvider.
static _enabledLearningProgress()