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
Toast.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Component\Toast
;
22
23
use
ILIAS\UI\Component\Button\Shy
;
24
use
ILIAS\UI\Component\Component
;
25
use
ILIAS\UI\Component\JavaScriptBindable
;
26
use
ILIAS\UI\Component\Link\Link
;
27
use
ILIAS\UI\Component\Signal
;
28
use
ILIAS\UI\Component\Symbol\Icon\Icon
;
29
use
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
;
30
35
interface
Toast
extends
Component
,
JavaScriptBindable
36
{
40
public
function
getTitle
();
41
42
public
function
withDescription
(
string
$description):
Toast
;
43
44
public
function
getDescription
(): string;
45
46
public
function
withAdditionalLink
(
Link
$link):
Toast
;
47
48
public
function
withoutLinks
():
Toast
;
49
53
public
function
getLinks
(): array;
54
58
public
function
withAction
(
string
$action):
Toast
;
59
60
public
function
getAction
(): string;
61
62
public
function
getIcon
():
Icon
;
63
67
public
function
initSignals
(): void;
68
72
public
function
getShowSignal
():
Signal
;
73
}
ILIAS\UI\Component\Toast\Toast\getShowSignal
getShowSignal()
Get the signal to show this toast in the frontend.
JavaScriptBindable
ILIAS\UI\Component\Toast\Toast\getAction
getAction()
Standard
ILIAS\UI\Component\Toast\Toast\withAdditionalLink
withAdditionalLink(Link $link)
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\JavaScriptBindable
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Definition:
JavaScriptBindable.php:32
Shy
Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\UI\Component\Toast\Toast
Definition:
Toast.php:35
ILIAS\UI\Component\Toast
Definition:
Container.php:21
ILIAS\UI\Component\Toast\Toast\initSignals
initSignals()
Init the default signals.
Icon
ILIAS\UI\Component\Toast\Toast\withAction
withAction(string $action)
Create a copy of this toast with an url, which is called asynchronous when the user interact with the...
ILIAS\UI\Component\Toast\Toast\getLinks
getLinks()
Standard
ILIAS\UI\Component\Toast\Toast\withoutLinks
withoutLinks()
ILIAS\UI\Component\Toast\Toast\withDescription
withDescription(string $description)
ILIAS\UI\Component\Toast\Toast\getTitle
getTitle()
ILIAS\UI\Component\Toast\Toast\getIcon
getIcon()
ILIAS\UI\Component\Toast\Toast\getDescription
getDescription()
Link
SignalGeneratorInterface
Signal
components
ILIAS
UI
src
Component
Toast
Toast.php
Generated on Sun Apr 27 2025 23:04:04 for ILIAS by
1.8.13 (using
Doxyfile
)