MPrompt Class Reference

Inheritance diagram for MPrompt:

Inheritance graph
[legend]
Collaboration diagram for MPrompt:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __construct ($caption=null, $message=null, $icon= '/images/error.gif')
 SetType ($type)
 AddButton ($label, $href, $event= '')
 Generate ()

Static Public Member Functions

static Error ($msg= '', $goto= '', $caption= '', $event= '')
static Information ($msg, $goto= '', $event= '')
static Confirmation ($msg, $gotoOK= '', $gotoCancel= '', $eventOk= '', $eventCancel= '')
static Question ($msg, $gotoYes= '', $gotoNo= '', $eventYes= '', $eventNo= '')

Public Attributes

 $caption
 $message
 $buttons
 $icon
 $type = 'prompt'
 $box

Detailed Description

Definition at line 49 of file mprompt.class.


Constructor & Destructor Documentation

MPrompt::__construct ( caption = null,
message = null,
icon = '/images/error.gif' 
)

Definition at line 71 of file mprompt.class.

References $caption, $icon, $message, and _M().

Here is the call graph for this function:


Member Function Documentation

static MPrompt::Error ( msg = '',
goto = '',
caption = '',
event = '' 
) [static]

Definition at line 89 of file mprompt.class.

References $caption, and _M().

Referenced by MPermsMiolo::CheckAccess(), MPermsLdap::CheckAccess(), MPerms::CheckAccess(), MIOLO::error(), and MForm::GenerateErrors().

Here is the call graph for this function:

Here is the caller graph for this function:

static MPrompt::Information ( msg,
goto = '',
event = '' 
) [static]

Definition at line 107 of file mprompt.class.

References _M().

Referenced by MForm::GenerateInfos(), and MIOLO::information().

Here is the call graph for this function:

Here is the caller graph for this function:

static MPrompt::Confirmation ( msg,
gotoOK = '',
gotoCancel = '',
eventOk = '',
eventCancel = '' 
) [static]

Definition at line 122 of file mprompt.class.

References _M().

Referenced by MIOLO::confirmation(), and Question().

Here is the call graph for this function:

Here is the caller graph for this function:

static MPrompt::Question ( msg,
gotoYes = '',
gotoNo = '',
eventYes = '',
eventNo = '' 
) [static]

Definition at line 134 of file mprompt.class.

References _M(), and Confirmation().

Referenced by MIOLO::question().

Here is the call graph for this function:

Here is the caller graph for this function:

MPrompt::SetType ( type  ) 

Definition at line 146 of file mprompt.class.

References $type.

MPrompt::AddButton ( label,
href,
event = '' 
)

Definition at line 151 of file mprompt.class.

MPrompt::Generate (  ) 

Definition at line 161 of file mprompt.class.

References MControl::$id, MComponent::$name, and $type.


Member Data Documentation

MPrompt::$caption

A caption for the control.

Reimplemented from MControl.

Definition at line 51 of file mprompt.class.

Referenced by __construct(), and Error().

MPrompt::$message

Definition at line 52 of file mprompt.class.

Referenced by __construct().

MPrompt::$buttons

Definition at line 53 of file mprompt.class.

MPrompt::$icon

Definition at line 54 of file mprompt.class.

Referenced by __construct().

MPrompt::$type = 'prompt'

Definition at line 55 of file mprompt.class.

Referenced by Generate(), and SetType().

MPrompt::$box

Reimplemented from MControl.

Definition at line 56 of file mprompt.class.


The documentation for this class was generated from the following file:
CopyLeft (L) 2001-2006 - [MIOLO Development Team] SOLIS - Cooperativa de Soluções Livres - Lajeado/RS - Brasil