ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ 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
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 Thu Apr 10 2025 23:04:22 for ILIAS by
1.8.13 (using
Doxyfile
)