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
Footer.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\UI\Implementation\Component\MainControls
;
22
23
use
ILIAS\UI\Component\MainControls
;
24
use
ILIAS\UI\Component\Modal
;
25
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
26
use
ILIAS\UI\Component\Button
;
27
use
ILIAS\UI\Component\Link\Link
;
28
use
ILIAS\Data\URI
;
29
30
class
Footer
implements
MainControls\Footer
31
{
32
use
ComponentHelper
;
33
34
private
string
$text
;
35
private
array
$links
;
36
40
private
array
$modalsWithTriggers
= [];
41
protected
?
URI
$permanent_url
= null;
42
43
public
function
__construct
(array $links,
string
$text =
''
)
44
{
45
$types = [Link::class,];
46
$this->checkArgListElements(
'links'
, $links, $types);
47
$this->links = $links;
48
$this->text = $text;
49
}
50
51
public
function
getLinks
(): array
52
{
53
return
$this->links;
54
}
55
56
public
function
getText
(): string
57
{
58
return
$this->text;
59
}
60
61
public
function
withPermanentURL
(
URI
$url
): MainControls\
Footer
62
{
63
$clone = clone $this;
64
$clone->permanent_url =
$url
;
65
return
$clone;
66
}
67
68
public
function
getPermanentURL
(): ?
URI
69
{
70
return
$this->permanent_url;
71
}
72
76
public
function
getModals
(): array
77
{
78
return
$this->modalsWithTriggers;
79
}
80
81
public
function
withAdditionalModalAndTrigger
(
82
Modal
\
RoundTrip
$roundTripModal,
83
Button
\
Shy
$shyButton
84
): MainControls\
Footer
{
85
$shyButton = $shyButton->withOnClick($roundTripModal->getShowSignal());
86
87
$clone = clone $this;
88
$clone->modalsWithTriggers[] = [$roundTripModal, $shyButton];
89
return
$clone;
90
}
91
}
ILIAS\UI\Component\Modal\Modal
This describes commonalities between the different modals.
Definition:
Modal.php:34
ILIAS\UI\Component\MainControls
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Factory.php:21
ILIAS\UI\Implementation\Component\MainControls\Footer\withAdditionalModalAndTrigger
withAdditionalModalAndTrigger(Modal\RoundTrip $roundTripModal, Button\Shy $shyButton)
Definition:
Footer.php:81
ILIAS\UI\Implementation\Component\MainControls\Footer\getText
getText()
Definition:
Footer.php:56
ILIAS\UI\Implementation\Component\MainControls\Footer\getPermanentURL
getPermanentURL()
Definition:
Footer.php:68
ILIAS\UI\Component\Button
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Bulky.php:21
ILIAS\UI\Implementation\Component\MainControls\Footer\getModals
getModals()
Definition:
Footer.php:76
ILIAS\UI\Component\Button\Shy
Shy button.
Definition:
Shy.php:26
ILIAS\UI\Implementation\Component\MainControls\Footer\$text
string $text
Definition:
Footer.php:34
ILIAS\UI\Implementation\Component\MainControls\Footer\$modalsWithTriggers
array $modalsWithTriggers
Definition:
Footer.php:40
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:34
ILIAS\UI\Implementation\Component\MainControls\Footer\getLinks
getLinks()
Definition:
Footer.php:51
ILIAS\UI\Component\Modal
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Factory.php:21
ILIAS\UI\Implementation\Component\MainControls\Footer\__construct
__construct(array $links, string $text='')
Definition:
Footer.php:43
Link
ILIAS\UI\Component\Modal\RoundTrip
Definition:
RoundTrip.php:29
URI
ComponentHelper
ILIAS\UI\Implementation\Component\MainControls\Footer\withPermanentURL
withPermanentURL(URI $url)
Definition:
Footer.php:61
ILIAS\UI\Implementation\Component\MainControls\Footer\$permanent_url
URI $permanent_url
Definition:
Footer.php:41
ILIAS\UI\Implementation\Component\MainControls\Footer\$links
array $links
Definition:
Footer.php:35
$url
$url
Definition:
proxy_ylocal.php:28
ILIAS\UI\Implementation\Component\MainControls
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Factory.php:21
ComponentHelper
ILIAS\UI\Component\MainControls\Footer
This describes the Footer.
Definition:
Footer.php:32
src
UI
Implementation
Component
MainControls
Footer.php
Generated on Mon Apr 14 2025 22:03:03 for ILIAS by
1.8.13 (using
Doxyfile
)