3 declare(strict_types=1);
28 string $window_base_title
30 $this->il_tpl = $il_global_template;
31 $this->layout_meta_content = $layout_meta_content;
32 $this->ui_factory = $ui_factory;
33 $this->ui_renderer = $ui_renderer;
35 $this->tpl = $kiosk_template;
36 $this->toc_gui = $toc_gui;
37 $this->loc_gui = $loc_gui;
38 $this->window_base_title = $window_base_title;
43 $f = $this->ui_factory;
44 return $this->ui_factory->maincontrols()->slate()->legacy(
45 $this->lng->txt(
'lso_mainbar_button_label_curriculum'),
46 $f->symbol()->icon()->standard(
"lso",
"Learning Sequence")
47 ->withIsOutlined(
true),
48 $this->ui_factory->legacy(
49 $this->ui_renderer->render($curriculum)
57 $html = $this->toc_gui
58 ->withStructure($toc->toJSON())
60 return $this->ui_factory->maincontrols()->slate()->legacy(
61 $this->lng->txt(
'lso_mainbar_button_label_toc'),
62 $icon->
withSize(
"small")->withIsOutlined(
true),
63 $this->ui_factory->legacy($html)
75 $this->tpl->setVariable(
77 $this->ui_renderer->render($icon)
79 $this->tpl->setVariable(
"OBJECT_TITLE", $obj_title);
81 $this->tpl->setVariable(
83 $this->ui_renderer->render([
98 $this->tpl->setVariable(
"JS_INLINE", $control_builder->
getAdditionalJS());
103 $this->tpl->setVariable(
105 $this->ui_renderer->render($controls)
109 $this->tpl->setVariable(
115 $this->tpl->setVariable(
117 $this->ui_renderer->render(
119 ->withItems($control_builder->
getLocator()->getItems())
125 $this->tpl->setVariable(
127 $this->ui_renderer->render($content)
130 return $this->tpl->get();
An entity that renders components to a string output.
This describes how an icon could be modified during construction of UI.
This describes a Workflow.
Class ilGlobalPageTemplate.
This is how the factory for UI elements looks.
withSize($size)
Set the size for this icon.