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")
Manages skill profile completion.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilLearningHistoryFactory $factory
getEmphasizedTitle(string $title)
static getNewAchievementsPerUser(string $a_timestamp, string $a_timestamp_to=null, int $a_user_id=0, int $a_self_eval=0)
static lookupLevelTitle(int $a_id)
Class ilCtrl provides processing control methods.
@classDescription Date and time handling
loadLanguageModule(string $a_module)
Load language module.
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...
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...
Learning history provider: Skills.
SkillProfileCompletionManager $profile_completion_manager
__construct(int $user_id, ilLearningHistoryFactory $factory, ilLanguage $lng, ?ilTemplate $template=null)
SkillProfileManager $profile_manager
getEntries(int $ts_start, int $ts_end)
static _lookupTitle(int $a_obj_id, int $a_tref_id=0)
special template class to simplify handling of ITX/PEAR
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
This is how the factory for UI elements looks.
An entity that renders components to a string output.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc