42 $this->access = ilMyStaffAccess::getInstance();
44 $this->usr_id = $this->dic->http()->request()->getQueryParams()[
'usr_id'];
45 $this->dic->ctrl()->setParameter($this,
'usr_id', $this->usr_id);
56 $this->dic->ctrl()->redirectByClass(ilDashboardGUI::class,
"");
59 if ($this->access->hasCurrentUserAccessToMyStaff()
60 && $this->access->hasCurrentUserAccessToUser($this->usr_id)
65 $this->dic->ctrl()->redirectByClass(ilDashboardGUI::class,
"");
77 $cmd = $this->dic->ctrl()->getCmd();
78 $next_class = $this->dic->ctrl()->getNextClass();
80 switch ($next_class) {
84 case self::CMD_SHOW_SKILLS:
99 $this->dic->language()->loadLanguageModule(
'skmg');
100 $this->dic->tabs()->addSubTab(
101 self::SUB_TAB_SKILLS,
102 $this->dic->language()->txt(
'skmg_selected_skills'),
103 $this->dic->ctrl()->getLinkTarget($this, self::CMD_SHOW_SKILLS)
106 $this->dic->tabs()->activateSubTab($active_sub_tab);
118 foreach ($skills as $skill) {
119 $html .= $skills_gui->getSkillHTML($skill[
"skill_node_id"], $this->usr_id);
121 $this->dic->ui()->mainTemplate()->setContent($html);
addSubTabs(string $active_sub_tab)
static getSelectedUserSkills($a_user_id)
Get personal selected user skills.
__construct(Container $dic)
Customizing of pimple-DIC for ILIAS.
Personal skills GUI class.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
Class ilMStShowUserCompetencesGUI.