ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
18 interface Standard extends Page, JavaScriptBindable
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 }
This describes the MainBar.
Definition: MainBar.php:16
withAdditionalMetaDatum(string $key, string $value)
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
withTextDirection(string $text_direction)
Set the direction of the text.
This describes a standard button.
Definition: Standard.php:12
getTextDirection()
Get the direction of the text.
This describes the Page.
Definition: Page.php:13
This describes the MetaBar.
Definition: MetaBar.php:14
This describes the Footer.
Definition: Footer.php:15