26 protected \ILIAS\DI\UIServices
$ui;
40 if (is_null($current_user)) {
41 $current_user = $DIC->user();
59 public function getEntries(
int $ts_start,
int $ts_end): array
66 foreach ($completions as
$c) {
68 if ($this->current_user->getId() === $this->
getUserId()) {
69 $title = $this->
ui->renderer()->render($this->
ui->factory()->link()->standard(
74 $text1 = str_replace(
"$3$", $title,
$lng->
txt(
"badge_lhist_badge_completed"));
75 $text2 = str_replace(
"$3$", $title,
$lng->
txt(
"badge_lhist_badge_completed_in"));
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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...
Class ChatMainBarProvider .
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
getEntries(int $ts_start, int $ts_end)
loadLanguageModule(string $a_module)
Load language module.
__construct(int $user_id, ilLearningHistoryFactory $factory, ilLanguage $lng, ilTemplate $template=null, ilObjUser $current_user=null, \ILIAS\DI\UIServices $ui=null)
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 _getLink(?int $a_ref_id, string $a_type='', array $a_params=array(), string $append="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
static getBadgesForUser(int $a_user_id, int $a_ts_from, int $a_ts_to)