ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
StandardPageBuilder.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Layout\Builder
;
22
23
use
ILIAS\DI\UIServices
;
24
use
ILIAS\GlobalScreen\Scope\Layout\MetaContent\MetaContent
;
25
use
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider
;
26
use
ILIAS\UI\Component\Layout\Page\Page
;
27
use
ILIAS\UI\Implementation\Component\Layout\Page\Standard
;
28
33
class
StandardPageBuilder
implements
PageBuilder
34
{
35
protected
UIServices
$ui
;
36
protected
MetaContent
$meta
;
37
41
public
function
__construct
()
42
{
43
global
$DIC
;
44
$this->
ui
= $DIC->ui();
45
$this->meta = $DIC->globalScreen()->layout()->meta();
46
}
47
52
public
function
build
(
PagePartProvider
$parts
):
Page
53
{
54
$meta_bar = $parts->
getMetaBar
();
55
$main_bar = $parts->
getMainBar
();
56
$bread_crumbs = $parts->
getBreadCrumbs
();
57
$header_image = $parts->
getLogo
();
58
$responsive_header_image = $parts->
getResponsiveLogo
();
59
$favicon_path = $parts->
getFaviconPath
();
60
$footer = $parts->
getFooter
();
61
$title = $parts->
getTitle
();
62
$short_title = $parts->
getShortTitle
();
63
$view_title = $parts->
getViewTitle
();
64
$toast_container = $parts->
getToastContainer
();
65
66
$standard = $this->
ui
->factory()->layout()->page()->standard(
67
[$parts->
getContent
()],
68
$meta_bar,
69
$main_bar,
70
$bread_crumbs,
71
$header_image,
72
$responsive_header_image,
73
$favicon_path,
74
$toast_container,
75
$footer,
76
$title,
77
$short_title,
78
$view_title
79
);
80
81
foreach
($this->meta->getMetaData()->getItems() as $meta_datum) {
82
$standard = $standard->withAdditionalMetaDatum($meta_datum->getKey(), $meta_datum->getValue());
83
}
84
85
return
$standard->withSystemInfos($parts->
getSystemInfos
())
86
->withTextDirection($this->meta->getTextDirection() ?? Standard::LTR);
87
}
88
}
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder\build
build(PagePartProvider $parts)
Definition:
StandardPageBuilder.php:52
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getMainBar
getMainBar()
ILIAS\GlobalScreen\Scope\Layout\Builder
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
DecoratedPageBuilder.php:22
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getContent
getContent()
$parts
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
Definition:
ltitoken.php:64
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getToastContainer
getToastContainer()
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getFooter
getFooter()
UIServices
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider
Interface PagePartProvider.
Definition:
PagePartProvider.php:35
PagePartProvider
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getResponsiveLogo
getResponsiveLogo()
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getFaviconPath
getFaviconPath()
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\DI\UIServices
Provides fluid interface to RBAC services.
Definition:
UIServices.php:23
Page
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getViewTitle
getViewTitle()
ILIAS\Repository\ui
ui()
Definition:
trait.GlobalDICGUIServices.php:42
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getShortTitle
getShortTitle()
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getSystemInfos
getSystemInfos()
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder\$ui
UIServices $ui
Definition:
StandardPageBuilder.php:35
Standard
MetaContent
ILIAS\UI\Component\Layout\Page\Page
This describes the Page.
Definition:
Page.php:30
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getBreadCrumbs
getBreadCrumbs()
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder\__construct
__construct()
StandardPageBuilder constructor.
Definition:
StandardPageBuilder.php:41
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder
Interface PageBuilder.
Definition:
StandardPageBuilder.php:33
ILIAS\GlobalScreen\Scope\Layout\Builder\StandardPageBuilder\$meta
MetaContent $meta
Definition:
StandardPageBuilder.php:36
ILIAS\GlobalScreen\Scope\Layout\Builder\PageBuilder
Interface PageBuilder.
Definition:
PageBuilder.php:29
ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\PagePartProvider\getLogo
getLogo()
ILIAS\GlobalScreen\Scope\Layout\MetaContent\MetaContent
Definition:
MetaContent.php:40
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 Sat Apr 5 2025 22:02:42 for ILIAS by
1.8.13 (using
Doxyfile
)