ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
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 Mon Sep 1 2025 23:04:18 for ILIAS by
1.8.13 (using
Doxyfile
)