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
Container.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\UI\Implementation\Component\Toast
;
22
23
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
24
use
ILIAS\UI\Component\Toast
as
ComponentInterface
;
25
26
class
Container
implements
ComponentInterface\Container
27
{
28
use
ComponentHelper
;
29
33
protected
array
$toasts
= [];
34
35
public
function
getToasts
(): array
36
{
37
return
$this->toasts
;
38
}
39
40
public
function
withAdditionalToast
(
ComponentInterface
\
Toast
$toast):
Container
41
{
42
$clone = clone $this;
43
$clone->toasts[] = $toast;
44
return
$clone;
45
}
46
47
public
function
withoutToasts
():
Container
48
{
49
$clone = clone $this;
50
$clone->toasts = [];
51
return
$clone;
52
}
53
}
ILIAS\UI\Implementation\Component\Toast\Container\$toasts
array $toasts
Definition:
Container.php:33
ILIAS\UI\Implementation\Component\Toast\Container\getToasts
getToasts()
Definition:
Container.php:35
ILIAS\UI\Implementation\Component\Toast\Container\withoutToasts
withoutToasts()
Definition:
Container.php:47
ILIAS\UI\Component\Toast
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Container.php:21
ILIAS\UI\Implementation\Component\Toast\Container\withAdditionalToast
withAdditionalToast(ComponentInterface\Toast $toast)
Definition:
Container.php:40
ILIAS\UI\Implementation\Component\Toast\Container
Definition:
Container.php:26
ILIAS\UI\Implementation\Component\Toast\Toast
Definition:
Toast.php:32
ComponentHelper
ILIAS\UI\Implementation\Component\Toast
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Container.php:21
ComponentHelper
ILIAS\UI\Component\Toast\Container
Definition:
Container.php:29
src
UI
Implementation
Component
Toast
Container.php
Generated on Mon Apr 14 2025 22:02:59 for ILIAS by
1.8.13 (using
Doxyfile
)