107 string $short_title =
'',
108 string $view_title =
'' 110 $allowed = [\ILIAS\UI\Component\Component::class];
113 $this->content = $content;
126 $clone = clone $this;
127 $clone->metabar = $meta_bar;
133 $clone = clone $this;
134 $clone->mainbar = $main_bar;
140 $clone = clone $this;
141 $clone->logo = $logo;
147 $clone = clone $this;
148 $clone->responsive_logo = $logo;
157 $clone = clone $this;
158 $clone->footer = $footer;
174 return ($this->logo instanceof
Image);
179 return ($this->responsive_logo instanceof
Image);
189 return $this->content;
194 return $this->metabar;
199 return $this->mainbar;
204 return $this->breadcrumbs;
214 return $this->responsive_logo;
219 return $this->footer;
227 $clone = clone $this;
228 $clone->with_headers = $use_headers;
234 return $this->with_headers;
239 return $this->ui_demo;
244 $clone = clone $this;
245 $clone->ui_demo = $switch;
251 $clone = clone $this;
252 $clone->title = $title;
263 $clone = clone $this;
264 $clone->short_title = $title;
270 return $this->short_title;
275 $clone = clone $this;
276 $clone->view_title = $title;
282 return $this->view_title;
287 $clone = clone $this;
288 $clone->mode_info = $mode_info;
294 return $this->mode_info;
299 return $this->mode_info instanceof
ModeInfo;
304 $clone = clone $this;
305 $clone->footer = null;
312 $clone = clone $this;
313 $clone->system_infos = $system_infos;
319 return $this->system_infos;
324 return count($this->system_infos) > 0;
333 [self::LTR,self::RTL],
334 implode(
'/', [self::LTR,self::RTL])
336 $clone = clone $this;
337 $clone->text_direction = $text_direction;
343 return $this->text_direction;
348 $clone = clone $this;
349 $clone->meta_data[$key] = $value;
355 return $this->meta_data;
withHeaders($use_headers)
This describes the MainBar.
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.
Class ChatMainBarProvider .
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.
withFooter(Footer $footer)
withAdditionalMetaDatum(string $key, string $value)
withMetabar(MetaBar $meta_bar)
withShortTitle(string $title)
withUIDemo(bool $switch=true)
__construct(array $content, MetaBar $metabar=null, MainBar $mainbar=null, Breadcrumbs $locator=null, Image $logo=null, Footer $footer=null, string $title='', string $short_title='', string $view_title='')
Standard constructor.
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)
checkArgListElements($which, array &$values, $classes)
Check every element of the list if it is an instance of one of the given classes. ...
This describes the Footer.