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(
An exception for terminatinating execution or to throw for unit testing.
Interface StaticMainMenuProvider.
getStaticSubItems()
@inheritDoc
getStaticTopItems()
@inheritDoc
Class StandardTopItemsProvider.
static _hasLearningProgressOtherUsers()
static _hasLearningProgressLearner()
static _enabledLearningProgress()
check wether learing progress is enabled or not
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias