3 declare(strict_types=1);
69 ?
Image $responsive_logo = null,
70 string $favicon_path =
'',
74 string $short_title =
'',
75 string $view_title =
'' 77 $allowed = [Component::class];
78 $this->checkArgListElements(
"content", $content, $allowed);
80 $this->content = $content;
81 $this->metabar = $metabar;
85 $this->responsive_logo = $responsive_logo;
86 $this->favicon_path = $favicon_path;
87 $this->overlay = $overlay;
89 $this->title = $title;
90 $this->short_title = $short_title;
91 $this->view_title = $view_title;
100 $clone->metabar = $meta_bar;
109 $clone = clone $this;
110 $clone->mainbar = $main_bar;
116 $clone = clone $this;
117 $clone->logo = $logo;
123 $clone = clone $this;
124 $clone->responsive_logo = $logo;
130 $clone = clone $this;
131 $clone->favicon_path =
$path;
140 $clone = clone $this;
141 $clone->footer = $footer;
150 return ($this->metabar instanceof
MetaBar);
166 return ($this->logo instanceof
Image);
171 return ($this->responsive_logo instanceof
Image);
184 return $this->content;
192 return $this->metabar;
200 return $this->mainbar;
208 return $this->breadcrumbs;
221 return $this->responsive_logo;
226 return $this->favicon_path;
231 return $this->footer;
236 $clone = clone $this;
237 $clone->with_headers = $use_headers;
243 return $this->with_headers;
248 return $this->ui_demo;
253 $clone = clone $this;
254 $clone->ui_demo = $switch;
260 $clone = clone $this;
261 $clone->title = $title;
272 $clone = clone $this;
273 $clone->short_title = $title;
279 return $this->short_title;
284 $clone = clone $this;
285 $clone->view_title = $title;
291 return $this->view_title;
296 $clone = clone $this;
297 $clone->mode_info = $mode_info;
303 return $this->mode_info;
308 return $this->mode_info instanceof
ModeInfo;
313 $clone = clone $this;
314 $clone->footer = null;
320 $clone = clone $this;
321 $clone->meta_data[
$key] = $value;
327 return $this->meta_data;
332 $this->checkArgListElements(
"system_infos", $system_infos, [SystemInfo::class]);
333 $clone = clone $this;
334 $clone->system_infos = $system_infos;
340 return $this->system_infos;
345 return count($this->system_infos) > 0;
351 $this->checkArgIsElement(
354 [self::LTR,self::RTL],
355 implode(
'/', [self::LTR,self::RTL])
357 $clone = clone $this;
358 $clone->text_direction = $text_direction;
364 return $this->text_direction;
369 return $this->overlay instanceof
Container;
374 return $this->overlay;
This describes the MainBar.
withHeaders(bool $use_headers)
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
withFooter(Footer $footer)
withAdditionalMetaDatum(string $key, string $value)
withMetabar(MetaBar $meta_bar)
withFaviconPath(string $path)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withShortTitle(string $title)
withUIDemo(bool $switch=true)
withModeInfo(ModeInfo $mode_info)
withMainbar(MainBar $main_bar)
withResponsiveLogo(Image $logo)
This describes the MetaBar.
withSystemInfos(array $system_infos)
withViewTitle(string $title)
withTextDirection(string $text_direction)
__construct(array $content, ?MetaBar $metabar=null, ?MainBar $mainbar=null, ?Breadcrumbs $locator=null, ?Image $logo=null, ?Image $responsive_logo=null, string $favicon_path='', ?Container $overlay=null, ?Footer $footer=null, string $title='', string $short_title='', string $view_title='')
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This describes the Footer.