FusionDirectory
 All Data Structures Files Functions Variables
Public Member Functions | Static Public Member Functions
msg_dialog Class Reference

This class contains all the function needed to make messages dialogs. More...

Public Member Functions

 __construct ($s_title, $s_message, $i_type)
 Message dialog constructor. More...
 
 execute ()
 Run the message dialog.
 
 is_confirmed ()
 Check if the message is confirmed by user. More...
 

Static Public Member Functions

static display ($s_title, $s_message, $i_type=INFO_DIALOG)
 Display a message dialog. More...
 
static get_dialogs ()
 Accessor of the message dialog.
 

Detailed Description

This class contains all the function needed to make messages dialogs.

Definition at line 38 of file class_msg_dialog.inc.

Constructor & Destructor Documentation

__construct (   $s_title,
  $s_message,
  $i_type 
)

Message dialog constructor.

Parameters
string$s_titleThe title of the message dialog
string$s_messageThe message of the message dialog
string$i_typeThe type of the message dialog, by default = INFO_DIALOG

Definition at line 55 of file class_msg_dialog.inc.

Member Function Documentation

static display (   $s_title,
  $s_message,
  $i_type = INFO_DIALOG 
)
static
is_confirmed ( )

Check if the message is confirmed by user.

Returns
True if is confirmed, else return false

Definition at line 202 of file class_msg_dialog.inc.


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