19declare(strict_types=1);
43 $this->ui_factory =
$DIC[
'ui.factory'];
44 $this->ui_renderer =
$DIC[
'ui.renderer'];
45 $this->
lng = $DIC[
'lng'];
55 public function render(
int $active_step): string
58 $workflow_factory = $this->ui_factory->listing()->workflow();
64 foreach ($this->status->getSteps() as $step =>
$txt) {
65 if ($step == $active_step) {
66 $active_step_nr = $cnt;
75 $wf = $workflow_factory->linear($this->
lng->txt(
"user_privacy_checklist"), $steps)
76 ->withActive($active_step_nr);
79 return $this->ui_renderer->render($wf);
87 switch ($check_list_status) {
Builds a Color from either hex- or rgb values.
getUIChecklistStatus(int $check_list_status)
Get ui checklist status.
getStatusDetails(int $step)
Personal profile publishing mode of a user.
__construct()
Constructor setup ILIAS global object @access public.
This describes a Workflow Step.
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...