ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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...
 
 reduceWith (\Closure $fn)
 The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. 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
\ILIAS\UI\Component\Button\Standard[]$buttons

◆ withLinks()

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

Get a Message Box like this, but with links.

Parameters
\ILIAS\UI\Component\Link\Standard[]$links

Referenced by ILIAS\Search\ObjGUI\Readme\Helper\getServerErrorMessageBox(), and ILIAS\Search\ObjGUI\Readme\Helper\getServerInfoMessageBox().

+ Here is the caller graph for this function:

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"

Definition at line 32 of file MessageBox.php.

◆ 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: