26 protected \ILIAS\DI\UIServices
$ui;
34 $this->
ui = $DIC->ui();
36 $this->
lng = $DIC->language();
39 public function render(
int $active_step): string
44 $workflow_factory = $ui->factory()->listing()->workflow();
50 foreach ($this->status->getSteps() as $step =>
$txt) {
51 if ($step == $active_step) {
52 $active_step_nr = $cnt;
61 $wf = $workflow_factory->linear($lng->
txt(
"user_privacy_checklist"),
$steps)
62 ->withActive($active_step_nr);
65 return $ui->renderer()->render($wf);
73 switch ($check_list_status) {
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...
getUIChecklistStatus(int $check_list_status)
Get ui checklist status.
getStatusDetails(int $step)
Get status details.
ilProfileChecklistStatus $status
getStatus(int $step)
Get status of step.