ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
EmbeddedApplicationPagePartProvider.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\WOPI\Embed;
22
31
36{
37 public function __construct(
38 private readonly PagePartProvider $page_part_provider,
39 private readonly EmbeddedApplication $embedded_application
40 ) {
41 }
42
43 public function getContent(): ?Content
44 {
45 return $this->page_part_provider->getContent();
46 }
47
48 public function getMetaBar(): ?MetaBar
49 {
50 if ($this->embedded_application->isInline()) {
51 return $this->page_part_provider->getMetaBar();
52 }
53
54 return null;
55 }
56
57 public function getMainBar(): ?MainBar
58 {
59 if ($this->embedded_application->isInline()) {
60 return $this->page_part_provider->getMainBar();
61 }
62 return null;
63 }
64
65 public function getBreadCrumbs(): ?Breadcrumbs
66 {
67 if ($this->embedded_application->isInline()) {
68 return $this->page_part_provider->getBreadCrumbs();
69 }
70 return null;
71 }
72
73 public function getLogo(): ?Image
74 {
75 return $this->page_part_provider->getLogo();
76 }
77
78 public function getResponsiveLogo(): ?Image
79 {
80 return $this->page_part_provider->getResponsiveLogo();
81 }
82
83 public function getFaviconPath(): string
84 {
85 return $this->page_part_provider->getFaviconPath();
86 }
87
88 public function getSystemInfos(): array
89 {
90 return $this->page_part_provider->getSystemInfos();
91 }
92
93 public function getFooter(): ?Footer
94 {
95 return null;
96 }
97
98 public function getTitle(): string
99 {
100 return $this->page_part_provider->getTitle();
101 }
102
103 public function getShortTitle(): string
104 {
105 return $this->page_part_provider->getShortTitle();
106 }
107
108 public function getViewTitle(): string
109 {
110 return $this->page_part_provider->getViewTitle();
111 }
112
113 public function getToastContainer(): ?Container
114 {
115 return null;
116 }
117}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
__construct(private readonly PagePartProvider $page_part_provider, private readonly EmbeddedApplication $embedded_application)
getContent()
Get content as string stored in this component.
This describes the MainBar.
Definition: MainBar.php:34
This describes the MetaBar.
Definition: MetaBar.php:33