31 $title = $this->dic->language()->txt(
"mm_learning_progress");
32 $icon = $this->dic->ui()->factory()->symbol()->icon()->standard(
"trac", $title)->withIsOutlined(
true);
35 $this->mainmenu->link($this->
if->identifier(
'mm_pd_lp'))
37 ->withAction($ctrl->getLinkTargetByClass([
"ilDashboardGUI",
38 "ilAchievementsGUI",
"ilLearningProgressGUI",
"ilLPListOfProgressGUI"]))
42 ->withNonAvailableReason($this->dic->ui()->factory()->legacy(
"{$this->dic->language()->txt('component_not_active')}"))
43 ->withAvailableCallable(
static _hasLearningProgressLearner()
static _hasLearningProgressOtherUsers()
Interface StaticMainMenuProvider.
static _enabledLearningProgress()
check wether learing progress is enabled or not
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias