

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 | |
Definition at line 49 of file mprompt.class.
| MPrompt::__construct | ( | $ | caption = null, |
|
| $ | message = null, |
|||
| $ | icon = '/images/error.gif' | |||
| ) |
| 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 | ) |
| 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.
| 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 |
| MPrompt::$buttons |
Definition at line 53 of file mprompt.class.
| MPrompt::$icon |
| MPrompt::$type = 'prompt' |
| MPrompt::$box |