ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
StandardPageBuilder.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\Layout\Builder
;
2
3
use
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider
;
4
use
ILIAS\UI\Component\Layout\Page\Page
;
5
11
class
StandardPageBuilder
implements
PageBuilder
12
{
13
17
protected
$ui
;
21
protected
$meta
;
22
23
27
public
function
__construct
()
28
{
29
global
$DIC
;
30
$this->
ui
= $DIC->ui();
31
$this->meta = $DIC->globalScreen()->layout()->meta();
32
}
33
34
40
public
function
build
(
PagePartProvider
$parts) :
Page
41
{
42
$header_image = $parts->
getLogo
();
43
$responsive_header_image = $parts->
getResponsiveLogo
();
44
$main_bar = $parts->
getMainBar
();
45
$meta_bar = $parts->
getMetaBar
();
46
$bread_crumbs = $parts->
getBreadCrumbs
();
47
$footer = $parts->
getFooter
();
48
$title = $parts->
getTitle
();
49
$short_title = $parts->
getShortTitle
();
50
$view_title = $parts->
getViewTitle
();
51
52
$page = $this->
ui
->factory()->layout()->page()->standard(
53
[$parts->
getContent
()],
54
$meta_bar,
55
$main_bar,
56
$bread_crumbs,
57
$header_image,
58
$footer,
59
$title,
60
$short_title,
61
$view_title
62
);
63
64
foreach
($this->meta->getMetaData()->getItems() as $meta_datum) {
65
$page = $page->withAdditionalMetaDatum($meta_datum->getKey(), $meta_datum->getValue());
66
}
67
68
if
(null !== $responsive_header_image) {
69
$page = $page->withResponsiveLogo($responsive_header_image);
70
}
71
72
return
$page;
73
}
74
}
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder\build
build(PagePartProvider $parts)
Definition:
StandardPageBuilder.php:40
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getMainBar
getMainBar()
ILIAS\GlobalScreen\Scope\Layout\Builder
Definition:
DecoratedPageBuilder.php:1
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getContent
getContent()
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder\$meta
$meta
Definition:
StandardPageBuilder.php:21
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getFooter
getFooter()
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider
Interface PagePartProvider.
Definition:
PagePartProvider.php:15
PagePartProvider
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getResponsiveLogo
getResponsiveLogo()
Page
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder\$ui
$ui
Definition:
StandardPageBuilder.php:17
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getViewTitle
getViewTitle()
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getShortTitle
getShortTitle()
ui
ui()
Definition:
ui.php:5
ILIAS\UI\Component\Layout\Page\Page
This describes the Page.
Definition:
Page.php:13
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getBreadCrumbs
getBreadCrumbs()
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder\__construct
__construct()
StandardPageBuilder constructor.
Definition:
StandardPageBuilder.php:27
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder
Interface PageBuilder.
Definition:
StandardPageBuilder.php:11
$DIC
$DIC
Definition:
xapitoken.php:46
ILIAS\GlobalScreen\Scope\Layout\Builder\PageBuilder
Interface PageBuilder.
Definition:
PageBuilder.php:11
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getLogo
getLogo()
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getTitle
getTitle()
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getMetaBar
getMetaBar()
src
GlobalScreen
Scope
Layout
Builder
StandardPageBuilder.php
Generated on Wed Apr 9 2025 20:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)