ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
ToastAction.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Toast\Factory
;
22
26
class
ToastAction
27
{
28
private
string
$identifier
;
29
private
string
$title
;
30
private \Closure
$action
;
31
32
public
function
__construct
(
string
$identifier,
string
$title, \
Closure
$action)
33
{
34
$this->identifier =
$identifier
;
35
$this->title =
$title
;
36
$this->action =
$action
;
37
}
38
39
public
function
getIdentifier
(): string
40
{
41
return
$this->identifier
;
42
}
43
44
public
function
getTitle
(): string
45
{
46
return
$this->title
;
47
}
48
49
public
function
getAction
(): \
Closure
50
{
51
return
$this->action
;
52
}
53
}
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\$title
string $title
Definition:
ToastAction.php:29
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\getAction
getAction()
Definition:
ToastAction.php:49
Closure
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\getIdentifier
getIdentifier()
Definition:
ToastAction.php:39
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction
Definition:
ToastAction.php:26
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\getTitle
getTitle()
Definition:
ToastAction.php:44
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\$identifier
string $identifier
Definition:
ToastAction.php:28
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\$action
Closure $action
Definition:
ToastAction.php:30
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\__construct
__construct(string $identifier, string $title, \Closure $action)
Definition:
ToastAction.php:32
ILIAS\GlobalScreen\Scope\Toast\Factory
Definition:
isItem.php:21
src
GlobalScreen
Scope
Toast
Factory
ToastAction.php
Generated on Wed Sep 3 2025 22:02:55 for ILIAS by
1.8.13 (using
Doxyfile
)