48 $this->
ctrl = $DIC->ctrl();
49 $this->ui_fac = $DIC->ui()->factory();
50 $this->ui_ren = $DIC->ui()->renderer();
51 $this->profile_manager = $DIC->skills()->internal()->manager()->getProfileManager();
52 $this->profile_completion_manager = $DIC->skills()->internal()->manager()->getProfileCompletionManager();
61 if ($skmg_set->get(
"enable_skmg")) {
70 public function getEntries(
int $ts_start,
int $ts_end): array
81 if (isset($completions[$this->
getUserId()])) {
99 if (isset($completions[$this->
getUserId()])) {
101 $txt = (
$c[
"trigger_obj_id"] > 0)
102 ?
$lng->
txt(
"skll_lhist_skill_self_eval_in")
103 :
$lng->
txt(
"skll_lhist_skill_self_eval");
118 $completions = $this->profile_completion_manager->getFulfilledEntriesForUser($this->
getUserId());
120 foreach ($completions as
$c) {
121 $this->
ctrl->setParameterByClass(
"ilpersonalskillsgui",
"profile_id", $c[
"profile_id"]);
122 $p_link = $this->ui_fac->link()->standard(
123 $this->profile_manager->lookupTitle($c[
"profile_id"]),
124 $this->
ctrl->getLinkTargetByClass(
"ilpersonalskillsgui",
"listassignedprofile")
130 $lng->
txt(
"skll_lhist_skill_profile_fulfilled")
An entity that renders components to a string output.
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
static _lookupTitle(int $a_obj_id, int $a_tref_id=0)
getEntries(int $ts_start, int $ts_end)
__construct(int $user_id, ilLearningHistoryFactory $factory, ilLanguage $lng, ?ilTemplate $template=null)
SkillProfileCompletionManager $profile_completion_manager
loadLanguageModule(string $a_module)
Load language module.
static lookupLevelTitle(int $a_id)
SkillProfileManager $profile_manager
ilLearningHistoryFactory $factory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getEmphasizedTitle(string $title)
static getNewAchievementsPerUser(string $a_timestamp, string $a_timestamp_to=null, int $a_user_id=0, int $a_self_eval=0)
Learning history provider: Skills.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
Manages skill profile completion.