ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
MessageBox.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Component\MessageBox
;
22
23
use
ILIAS\UI\Component\Component
;
24
use
ILIAS\UI\Component\Prompt\IsPromptContent
;
25
29
interface
MessageBox
extends
Component
,
IsPromptContent
30
{
31
// Types of Message Boxes:
32
public
const
FAILURE
=
"failure"
;
33
public
const
SUCCESS
=
"success"
;
34
public
const
INFO
=
"info"
;
35
public
const
CONFIRMATION
=
"confirmation"
;
36
40
public
function
getType
(): string;
41
45
public
function
getMessageText
(): string;
46
52
public
function
getButtons
(): array;
53
59
public
function
getLinks
(): array;
60
66
public
function
withButtons
(array $buttons):
MessageBox
;
67
73
public
function
withLinks
(array $links):
MessageBox
;
74
}
ILIAS\UI\Component\MessageBox\MessageBox\withButtons
withButtons(array $buttons)
Get a Message Box like this, but with buttons.
ILIAS\UI\Component\MessageBox\MessageBox\FAILURE
const FAILURE
Definition:
MessageBox.php:32
ILIAS\UI\Component\MessageBox\MessageBox\CONFIRMATION
const CONFIRMATION
Definition:
MessageBox.php:35
ILIAS\UI\Component\MessageBox\MessageBox\withLinks
withLinks(array $links)
Get a Message Box like this, but with links.
ILIAS\UI\Component
Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\UI\Component\MessageBox\MessageBox\getButtons
getButtons()
Get the buttons of the Message Box.
ILIAS\UI\Component\MessageBox\MessageBox\getType
getType()
Get the type of the Message Box.
ILIAS\UI\Component\MessageBox\MessageBox\SUCCESS
const SUCCESS
Definition:
MessageBox.php:33
ILIAS\UI\Component\MessageBox
Definition:
Factory.php:21
ILIAS\UI\Component\MessageBox\MessageBox
Interface Message Box.
Definition:
MessageBox.php:29
ILIAS\UI\Component\MessageBox\MessageBox\getMessageText
getMessageText()
Get the message text of the Message Box.
ILIAS\UI\Component\MessageBox\MessageBox\getLinks
getLinks()
Get the links of the Message Box.
ILIAS\UI\Component\Prompt\IsPromptContent
Flags some Component to be a valid content of a Prompt.
Definition:
IsPromptContent.php:29
IsPromptContent
ILIAS\UI\Component\MessageBox\MessageBox\INFO
const INFO
Definition:
MessageBox.php:34
components
ILIAS
UI
src
Component
MessageBox
MessageBox.php
Generated on Sun Aug 31 2025 23:04:08 for ILIAS by
1.8.13 (using
Doxyfile
)