ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 interface Factory
27 {
46  public function failure(string $message_text): MessageBox;
47 
65  public function success(string $message_text): MessageBox;
66 
87  public function info(string $message_text): MessageBox;
88 
105  public function confirmation(string $message_text): MessageBox;
106 }
This is how a factory for Message Boxes looks like.
Definition: Factory.php:26
failure(string $message_text)
description: purpose: > The system failed to complete some actions and displays information about th...
success(string $message_text)
description: purpose: > The system succeeded in finishing some action and displays a success message...
confirmation(string $message_text)
description: purpose: > The system makes sure that an action should really be performed.
info(string $message_text)
description: purpose: > The system informs the user about obstacles standing in the way of completin...