MIOLO25
|
Membros públicos | |
__construct ($name, $content, $title) | |
setShowCloseButton ($showCloseButton) | |
getShowCloseButton () | |
generate () | |
Membros públicos herdados de MDiv | |
__construct ( $name=NULL, $content=' ', $class=NULL, $attributes=NULL) | |
addAttribute ($attr, $value) | |
__construct ( $name=NULL, $content=' ', $class=NULL, $attributes=NULL) | |
Membros públicos herdados de MControl | |
__construct ( $name=NULL) | |
setName ($name) | |
setId ($id) | |
getId () | |
getName () | |
getUniqueId () | |
__clone () | |
__set ( $name, $value) | |
__get ( $name) | |
setClass ($cssClass, $add=TRUE) | |
insertClass ( $cssClass) | |
addStyleFile ( $styleFile) | |
getClass () | |
addStyle ($name, $value) | |
setStyle ($style) | |
getStyle () | |
getBoxStyle () | |
setPosition ($left, $top, $position='absolute') | |
setWidth ($value) | |
setHeight ($value) | |
setColor ($value) | |
setVisibility ($value) | |
setFont ($value) | |
setAttribute ( $name, $value=null) | |
getAttribute ( $name) | |
setAttributes ($attr) | |
attributes ( $mergeDuplicates=false) | |
getAttributes ( $mergeDuplicates=false) | |
setReadOnly ($status) | |
setEnabled ($state) | |
setJsHint ( $hint) | |
setHint ( $hint) | |
setCaption ($caption) | |
setHTMLTitle ($title) | |
eventHandler () | |
attachEventHandler ( $name, $handler, $param=NULL) | |
addEvent ($event, $handler, $preventDefault=true) | |
hasEvent ($event) | |
generateEvent () | |
setContent ($inner) | |
setInner ($inner) | |
getInner () | |
getRender ( $method) | |
getInnerToString () | |
getCSSP () | |
generateInner () | |
__toString () | |
Membros públicos herdados de MComponent | |
getManager () | |
Membros públicos estáticos | |
static | getPopupContainer () |
static | setResponseContainer ($responseContainer) |
static | getResponseContainer () |
static | prompt ($message, $label=NULL, $action=':promptConfirmation', $defaultValue=NULL) |
static | alert ($message, $label=NULL, $action='javascript:mpopup.remove();') |
static | confirm ($message, $label=NULL, $actionYes=':confirmAction', $actionNo='javascript:mpopup.remove();') |
static | show ($name, $content, $label, $closeButton=true) |
static | remove () |
Campos de Dados | |
const | CONTAINER_ID = 'mPopupResponse' |
const | PROMPT_FIELD_ID = 'mPopupPromptField' |
$content | |
$title | |
Campos de Dados herdados de MControl | |
$id | |
$uniqueId | |
$enabled | |
$style | |
$attrs | |
$attributes | |
$maintainState | |
$readonly | |
$visible | |
$caption | |
$jsHint | |
$hint | |
$cssp | |
$inner | |
$parent | |
$eventHandlers | |
$painter | |
$event | |
$formId | |
const | ALIGN_CENTER = 'center' |
const | ALIGN_LEFT = 'left' |
const | ALIGN_RIGHT = 'right' |
const | FORM_MODE_WHOLE_ROW = 0 |
const | FORM_MODE_SHOW_SIDE = 1 |
const | FORM_MODE_SHOW_ABOVE = 2 |
const | FORM_MODE_SHOW_NBSP = 3 |
$formMode | |
Campos de Dados herdados de MComponent | |
$manager | |
$page | |
$owner | |
$name | |
$className | |
Membros protegidos estáticos | |
static | getPromptFields ($message, $action, $defaultValue) |
static | getAlertFields ($message, $action) |
static | getConfirmFields ($message, $actionYes, $actionNo) |
Outros membros herdados | |
Atributos Públicos Estáticos herdados de MControl | |
static | $_number = 0 |
Membros protegidos herdados de MControl | |
_addStyle ($name, $value) | |
__construct | ( | $name, | |
$content, | |||
$title ) |
MPopup constructor.
string | $name | Fields container id |
array | $content | Array of fields to be shown on the popup |
string | $label | Title string |
Reimplementado em MPopupAlert.
|
static |
Displays an alert popup.
string | $message | Message to be shown |
string | $label | Title string |
string | $action | Ajax action to be called on clicking the OK button |
|
static |
Displays a confirmation popup.
string | $message | Message to be shown |
string | $label | Title string |
string | $actionYes | Ajax action to be called on clicking the Yes button |
string | $actionNo | Ajax action to be called on clicking the No button |
generate | ( | ) |
Reimplementado de MDiv.
|
staticprotected |
Returns the alert fields to create a alert popup.
string | $message | Message to be shown |
string | $action | Ajax action to be called on clicking the OK button |
|
staticprotected |
Returns the confirmation fields to create a confirmation popup.
string | $message | Message to be shown |
string | $actionYes | Ajax action to be called on clicking the Yes button |
string | $actionNo | Ajax action to be called on clicking the No button |
|
static |
|
staticprotected |
Returns the prompt fields to create a prompt popup.
string | $message | Message to be shown |
string | $action | Ajax action to be called when clicking de OK button |
string | $defaultValue | Default value of the prompt field |
|
static |
getShowCloseButton | ( | ) |
|
static |
Displays a prompt popup.
string | $message | Message to be shown |
string | $label | Title string |
string | $action | Ajax action to be called on clicking the OK button |
string | $defaultValue | Default value of the prompt field |
|
static |
Sets to remove the opened popup on loading the page.
|
static |
string | $responseContainer | Set the element id where the popup must be rendered. |
setShowCloseButton | ( | $showCloseButton | ) |
boolean | $showCloseButton | Set whether to show the close button. |
|
static |
Displays a popup without needing to instantiate it.
string | $name | Fields container id |
array | $content | Array of fields to be shown on the popup |
string | $label | Title string |
boolean | $closeButton | Whether to show the close button. |
$content |
$title |
const CONTAINER_ID = 'mPopupResponse' |
Default container id where the popup must be rendered.
const PROMPT_FIELD_ID = 'mPopupPromptField' |
Default id for the prompt field.