ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
Modal.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Footer\Factory
;
22
23
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
24
28
class
Modal
extends
AbstractBaseItem
implements
canHaveParent
29
{
30
use
hasTitleTrait
;
31
use
canHaveParentTrait
;
32
33
public
function
__construct
(
34
IdentificationInterface
$provider_identification,
35
string
$title,
36
protected
\
ILIAS
\
UI
\
Component
\
Modal
\
Modal
$modal
37
) {
38
parent::__construct
($provider_identification);
39
$this->title = $title;
40
}
41
42
public
function
getModal
(): \
ILIAS
\
UI
\
Component
\
Modal
\
Modal
43
{
44
return
$this->modal;
45
}
46
47
public
function
withModal
(\
ILIAS
\
UI
\
Component
\
Modal
\
Modal
$modal): self
48
{
49
$clone = clone $this;
50
$clone->modal = $modal;
51
return
$clone;
52
}
53
54
public
function
isTop
(): bool
55
{
56
return
!$this->
hasParent
();
57
}
58
59
}
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal\getModal
getModal()
Definition:
Modal.php:42
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal\withModal
withModal(\ILIAS\UI\Component\Modal\Modal $modal)
Definition:
Modal.php:47
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal
Definition:
Modal.php:28
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Scope\Footer\Factory\hasTitleTrait
trait hasTitleTrait
Definition:
hasTitleTrait.php:27
Factory
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\Footer\Factory\canHaveParent
Definition:
canHaveParent.php:28
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal\isTop
isTop()
Definition:
Modal.php:54
IdentificationInterface
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal\__construct
__construct(IdentificationInterface $provider_identification, string $title, protected \ILIAS\UI\Component\Modal\Modal $modal)
Definition:
Modal.php:33
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem
Definition:
AbstractBaseItem.php:30
ILIAS\GlobalScreen\Scope\Footer\Factory\canHaveParent\hasParent
hasParent()
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ILIAS\GlobalScreen\Scope\Footer\Factory
Definition:
AbstractBaseItem.php:21
ILIAS\GlobalScreen\Scope\Footer\Factory\canHaveParentTrait
trait canHaveParentTrait
Definition:
canHaveParentTrait.php:29
components
ILIAS
GlobalScreen
src
Scope
Footer
Factory
Modal.php
Generated on Sun Apr 27 2025 23:02:19 for ILIAS by
1.8.13 (using
Doxyfile
)