ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Factory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 public function failure(string $message_text): MessageBox
28 {
29 return new MessageBox(C\MessageBox\MessageBox::FAILURE, $message_text);
30 }
31
32 public function success(string $message_text): MessageBox
33 {
34 return new MessageBox(C\MessageBox\MessageBox::SUCCESS, $message_text);
35 }
36
37 public function info(string $message_text): MessageBox
38 {
39 return new MessageBox(C\MessageBox\MessageBox::INFO, $message_text);
40 }
41
42 public function confirmation(string $message_text): MessageBox
43 {
44 return new MessageBox(C\MessageBox\MessageBox::CONFIRMATION, $message_text);
45 }
46}
@ FAILURE
The progress of the process/task cannot be calculated (yet), but it has started processing.
Definition: Status.php:42