ILIAS  release_7 Revision v7.30-3-g800a261c036
Standard.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 2018 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3
5
14
19{
20 //Possible Text Directions
21 public const LTR = 'ltr';
22 public const RTL = 'rtl';
23
24 public function withMetabar(MetaBar $meta_bar) : Standard;
25
26 public function withMainbar(MainBar $main_bar) : Standard;
27
28 public function withLogo(Image $logo) : Standard;
29
30 public function withResponsiveLogo(Image $logo) : Standard;
31
32 public function hasMetabar() : bool;
33
34 public function hasMainbar() : bool;
35
36 public function hasLogo() : bool;
37
38 public function hasResponsiveLogo() : bool;
39
40 public function getMetabar() : ?Metabar;
41
42 public function getMainbar() : ?Mainbar;
43
44 public function getBreadcrumbs() : ?Breadcrumbs;
45
46 public function getLogo() : ?Image;
47
48 public function getResponsiveLogo() : ?Image;
49
50 public function getFooter() : ?Footer;
51
52 public function withTitle(string $title) : Standard;
53
54 public function getTitle() : string;
55
56 public function withShortTitle(string $title) : Standard;
57
58 public function getShortTitle() : string;
59
60 public function withViewTitle(string $title) : Standard;
61
62 public function getViewTitle() : string;
63
64
65 public function withModeInfo(ModeInfo $mode_info) : Standard;
66
67
68 public function getModeInfo() : ?ModeInfo;
69
70
71 public function hasModeInfo() : bool;
72
73 public function withAdditionalMetaDatum(string $key, string $value) : Standard;
74
75 public function getMetaData() : array;
76
80 public function withSystemInfos(array $system_infos) : Standard;
81
85 public function getSystemInfos() : array;
86
87
88 public function hasSystemInfos() : bool;
89
94 public function withTextDirection(string $text_direction) : Standard;
95
100 public function getTextDirection() : string;
101}
An exception for terminatinating execution or to throw for unit testing.
This describes a standard button.
Definition: Standard.php:13
Interface to be extended by components that have the possibility to bind to Javascript.
This describes the Page.
Definition: Page.php:14
withTextDirection(string $text_direction)
Set the direction of the text.
withAdditionalMetaDatum(string $key, string $value)
getTextDirection()
Get the direction of the text.
This describes the Footer.
Definition: Footer.php:16
This describes the MainBar.
Definition: MainBar.php:17
This describes the MetaBar.
Definition: MetaBar.php:15
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.