|
FusionDirectory
|
This class contains all the function needed to make messages dialogs. More...
Public Member Functions | |
| __construct (string $title, string $message, int $type=INFO_DIALOG, array $trace=[]) | |
| Message dialog constructor. More... | |
| is_confirmed () | |
| Check if the message is confirmed by user. More... | |
Static Public Member Functions | |
| static | display ($title, string $message, int $type=INFO_DIALOG, array $trace=[]) |
| Display a message dialog. More... | |
| static | get_dialogs () |
| Accessor of the message dialog rendered HTML. | |
Protected Member Functions | |
| getDialogInfos () | |
| Return an array with infos for the template. | |
This class contains all the function needed to make messages dialogs.
Definition at line 38 of file class_msg_dialog.inc.
| __construct | ( | string | $title, |
| string | $message, | ||
| int | $type = INFO_DIALOG, |
||
| array | $trace = [] |
||
| ) |
Message dialog constructor.
| string | $title | The title of the message dialog (plain string) |
| string | $message | The message of the message dialog (HTML) |
| int | $type | The type of the message dialog, by default = INFO_DIALOG |
| array | $trace | The trace from where the message was built |
Definition at line 57 of file class_msg_dialog.inc.
|
static |
Display a message dialog.
| string | object | $title | The title of the message dialog, or the error object |
| string | $message | The message of the message dialog (HTML) |
| int | $type | The type of the message dialog, by default = INFO_DIALOG |
| array | $trace | The trace from where the message was built |
Definition at line 125 of file class_msg_dialog.inc.
Referenced by simplePlugin\callHook(), and LoginMethod\runSteps().
| is_confirmed | ( | ) |
Check if the message is confirmed by user.
Definition at line 170 of file class_msg_dialog.inc.
1.8.13