19declare(strict_types=1);
52 $title = $this->dic->language()->txt(
"mm_skills");
53 $icon = $this->dic->ui()->factory()->symbol()->icon()->standard(
"skmg", $title);
54 $icon = $this->dic->ui()->factory()->symbol()->icon()->standard(
Standard::SKMG, $title);
57 $ctrl->clearParametersByClass(
"ilPersonalSkillsGUI");
59 $link = $ctrl->getLinkTargetByClass([
"ilDashboardGUI",
"ilAchievementsGUI",
"ilPersonalSkillsGUI"]);
60 $ctrl->clearParameterByClass(
"ilPersonalSkillsGUI",
"list_mode");
62 $this->mainmenu->link($this->
if->identifier(
'mm_pd_skill'))
68 ->withNonAvailableReason($this->dic->ui()->factory()->legacy()->content($this->dic->language()->txt(
'component_not_active')))
69 ->withAvailableCallable(
70 static function ():
bool {
73 return (
bool) ($skmg_set->get(
"enable_skmg"));
Interface StaticMainMenuProvider.
Class StandardTopItemsProvider.
Class SkillMainBarProvider.
getStaticTopItems()
@inheritDoc
getStaticSubItems()
@inheritDoc
This describes how an icon could be modified during construction of UI.
This describes the specific behavior of an ILIAS standard icon.
if(!file_exists('../ilias.ini.php'))