19declare(strict_types=1);
49 $this->
ctrl = $DIC->ctrl();
50 $this->ui_fac =
$DIC->ui()->factory();
51 $this->ui_ren =
$DIC->ui()->renderer();
52 $this->profile_manager =
$DIC->skills()->internal()->manager()->getProfileManager();
53 $this->profile_completion_manager =
$DIC->skills()->internal()->manager()->getProfileCompletionManager();
62 if ($skmg_set->get(
"enable_skmg")) {
71 public function getEntries(
int $ts_start,
int $ts_end): array
82 if (isset($completions[$this->
getUserId()])) {
100 if (isset($completions[$this->
getUserId()])) {
102 $txt = (
$c[
"trigger_obj_id"] > 0)
103 ?
$lng->
txt(
"skll_lhist_skill_self_eval_in")
104 :
$lng->
txt(
"skll_lhist_skill_self_eval");
119 $completions = $this->profile_completion_manager->getFulfilledEntriesForUser($this->
getUserId());
121 foreach ($completions as
$c) {
122 $this->
ctrl->setParameterByClass(
"ilpersonalskillsgui",
"profile_id", $c->getProfileId());
123 $p_link = $this->ui_fac->link()->standard(
124 $this->profile_manager->lookupTitle(
$c->getProfileId()),
125 $this->ctrl->getLinkTargetByClass(
"ilpersonalskillsgui",
"listassignedprofile")
131 $lng->
txt(
"skll_lhist_skill_profile_fulfilled")
Builds a Color from either hex- or rgb values.
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 lookupLevelTitle(int $a_id)
static getNewAchievementsPerUser(string $a_timestamp, ?string $a_timestamp_to=null, int $a_user_id=0, int $a_self_eval=0)
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...
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 $image_name, 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