ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\UI\Component\MessageBox\MessageBox Interface Reference

Interface Message Box. More...

+ Inheritance diagram for ILIAS\UI\Component\MessageBox\MessageBox:
+ Collaboration diagram for ILIAS\UI\Component\MessageBox\MessageBox:

Public Member Functions

 getType ()
 Get the type of the Message Box. More...
 
 getMessageText ()
 Get the message text of the Message Box. More...
 
 getButtons ()
 Get the buttons of the Message Box. More...
 
 getLinks ()
 Get the links of the Message Box. More...
 
 withButtons (array $buttons)
 Get a Message Box like this, but with buttons. More...
 
 withLinks (array $links)
 Get a Message Box like this, but with links. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Component
 getCanonicalName ()
 Get the canonical name of the component. More...
 

Data Fields

const FAILURE = "failure"
 
const SUCCESS = "success"
 
const INFO = "info"
 
const CONFIRMATION = "confirmation"
 

Detailed Description

Interface Message Box.

Definition at line 29 of file MessageBox.php.

Member Function Documentation

◆ getButtons()

ILIAS\UI\Component\MessageBox\MessageBox::getButtons ( )

Get the buttons of the Message Box.

Returns
array

◆ getLinks()

ILIAS\UI\Component\MessageBox\MessageBox::getLinks ( )

Get the links of the Message Box.

Returns
array

◆ getMessageText()

ILIAS\UI\Component\MessageBox\MessageBox::getMessageText ( )

Get the message text of the Message Box.

◆ getType()

ILIAS\UI\Component\MessageBox\MessageBox::getType ( )

Get the type of the Message Box.

◆ withButtons()

ILIAS\UI\Component\MessageBox\MessageBox::withButtons ( array  $buttons)

Get a Message Box like this, but with buttons.

Parameters

◆ withLinks()

ILIAS\UI\Component\MessageBox\MessageBox::withLinks ( array  $links)

Get a Message Box like this, but with links.

Parameters

Field Documentation

◆ CONFIRMATION

const ILIAS\UI\Component\MessageBox\MessageBox::CONFIRMATION = "confirmation"

Definition at line 35 of file MessageBox.php.

◆ FAILURE

const ILIAS\UI\Component\MessageBox\MessageBox::FAILURE = "failure"

◆ INFO

const ILIAS\UI\Component\MessageBox\MessageBox::INFO = "info"

Definition at line 34 of file MessageBox.php.

◆ SUCCESS

const ILIAS\UI\Component\MessageBox\MessageBox::SUCCESS = "success"

Definition at line 33 of file MessageBox.php.


The documentation for this interface was generated from the following file: