3 declare(strict_types=1);
20 string $window_base_title
22 $this->il_tpl = $il_global_template;
23 $this->ui_renderer = $ui_renderer;
24 $this->tpl = $kiosk_template;
25 $this->toc_gui = $toc_gui;
26 $this->loc_gui = $loc_gui;
27 $this->window_base_title = $window_base_title;
38 $this->tpl->setVariable(
40 $this->window_base_title .
' - ' . $lso_title
43 $this->tpl->setVariable(
48 $this->tpl->setVariable(
"TOPBAR_TITLE", $lso_title);
50 $this->tpl->setVariable(
52 $this->ui_renderer->render($icon)
54 $this->tpl->setVariable(
"OBJECT_TITLE", $obj_title);
56 $this->tpl->setVariable(
58 $this->ui_renderer->render([
73 $this->tpl->setVariable(
"JS_INLINE", $control_builder->
getAdditionalJS());
79 $this->tpl->setVariable(
81 $this->ui_renderer->render($controls)
85 $this->tpl->setVariable(
91 $this->tpl->setVariable(
93 $this->ui_renderer->render(
95 ->withItems($control_builder->
getLocator()->getItems())
101 $this->tpl->setVariable(
103 $this->ui_renderer->render($content)
105 $this->tpl->setVariable(
107 $this->ui_renderer->render($curriculum)
110 if ($control_builder->
getToc()) {
111 $this->tpl->touchBlock(
"sidebar_space");
112 $this->tpl->setVariable(
115 ->withStructure($control_builder->
getToc()->toJSON())
119 $this->tpl->touchBlock(
"sidebar_disabled");
134 foreach ($js_files as $js_file) {
140 foreach ($css_files as $css_file) {
160 $js_files = $this->il_tpl->js_files_batch;
164 foreach ($js_files as $file => $order) {
165 $order = min($order, 3);
166 $sorted[$order][] = $file;
168 $js_files = array_merge($sorted[0], $sorted[1], $sorted[2], $sorted[3]);
169 $js_files = array_filter(
171 function ($js_file) {
172 return strpos($js_file,
'Services/FileUpload/js') ===
false;
181 if ($this->il_tpl->on_load_code) {
182 foreach ($this->il_tpl->on_load_code as
$key => $value) {
183 $olc .= implode(
PHP_EOL, $value);
191 foreach ($this->il_tpl->css_files as $il_css_file) {
192 $css_files[] = $il_css_file[
'file'];
194 foreach ($this->il_tpl->css_files as $il_css_file) {
195 if (!in_array($il_css_file[
'file'], $css_files)) {
196 $css_files[] = $il_css_file[
'file'];
207 return $this->il_tpl->inline_css;
An entity that renders components to a string output.
static getStyleSheetLocation($mode="output", $a_css_name="", $a_css_location="")
get full style sheet file name (path inclusive) of current user
static getNewContentStyleSheetLocation($mode="output")
get full style sheet file name (path inclusive) of current user
static init($a_tpl=null)
Init.
This describes a Workflow.
setVariable($variable, $value='')
Sets a variable value.
special template class to simplify handling of ITX/PEAR
setCurrentBlock($part="DEFAULT")
Überladene Funktion, die sich hier lokal noch den aktuellen Block merkt.
static initjQuery($a_tpl=null)
inits and adds the jQuery JS-File to the global or a passed template
parseCurrentBlock($part="DEFAULT")
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public...