19declare(strict_types=1);
54 $this->tpl = $kiosk_template;
63 return $this->ui_factory->maincontrols()->slate()->
legacy(
64 $this->
lng->txt(
'lso_mainbar_button_label_curriculum'),
65 $f->symbol()->icon()->standard(
"lso",
"Learning Sequence"),
66 $this->ui_factory->legacy(
67 $this->ui_renderer->render($curriculum)
74 $html = $this->toc_gui
75 ->withStructure($toc->
toJSON())
77 return $this->ui_factory->maincontrols()->slate()->legacy(
78 $this->
lng->txt(
'lso_mainbar_button_label_toc'),
80 $this->ui_factory->legacy()->content($html)
92 $this->ui_renderer->
render($icon)
94 $this->tpl->setVariable(
"OBJECT_TITLE", $obj_title);
96 $this->tpl->setVariable(
98 $this->ui_renderer->render([
113 $this->tpl->setVariable(
"JS_INLINE", $control_builder->
getAdditionalJS());
118 $this->tpl->setVariable(
120 $this->ui_renderer->render($controls)
124 $this->tpl->setVariable(
130 $this->tpl->setVariable(
132 $this->ui_renderer->render(
134 ->withItems($control_builder->
getLocator()->getItems())
140 $this->tpl->setVariable(
142 $this->ui_renderer->render($content)
145 return $this->tpl->get();
Builds a Color from either hex- or rgb values.
setVariable(string $a_group_name, string $a_var_name, string $a_var_value)
sets a variable in a group
special template class to simplify handling of ITX/PEAR
A component is the most general form of an entity in the UI.
This describes a Workflow.
This describes how an icon could be modified during construction of UI.
withSize(string $size)
Set the size for this icon.
This is how the factory for UI elements looks.
An entity that renders components to a string output.