|
MIOLO20
|
Membros públicos | |
| __construct ($name, $content, $title, $closeBtn=true) | |
| setShowCloseButton ($showCloseButton) | |
| getShowCloseButton () | |
| generate () | |
| getModalSize () | |
| setModalSize ($modalSize) | |
Membros públicos herdados de MControl | |
| __construct ( $name=NULL) | |
| __clone () | |
| __set ( $name, $value) | |
| __get ( $name) | |
| setReadOnly ($status) | |
| setEnabled ($state) | |
| setName ($name) | |
| setId ($id) | |
| setNameAndId ($name) | |
| getId () | |
| getName () | |
| getUniqueId () | |
| setClass ( $cssClass, $add=true) | |
| addStyleFile ( $styleFile) | |
| getClass () | |
| addStyle ($name, $value) | |
| setStyle ($style) | |
| getStyle () | |
| addAttribute ( $name, $value='') | |
| setTooltip ($title, $placement=self::TOOLTIP_PLACEMENT_AUTO) | |
| setAttribute ( $name, $value) | |
| setAttributes ($attr) | |
| attributes ( $mergeDuplicates=false) | |
| getAttributes ( $mergeDuplicates=false) | |
| setFormMode ( $mode) | |
| setJsHint ( $hint) | |
| setPosition ($left, $top, $position='absolute') | |
| setWidth ($value) | |
| setHeight ($value) | |
| setColor ($value) | |
| setVisibility ($value) | |
| setFont ($value) | |
| setCaption ($caption) | |
| setInner ($inner) | |
| getInner () | |
| addControl ($control) | |
| insertControl ($control, $pos=0, $width=null, $float=null) | |
| setControl ($control, $pos=0) | |
| setControls ($controls) | |
| getControls () | |
| getControl ($pos) | |
| getControlById ($id) | |
| findControlById ($id) | |
| setControlById ($control, $id) | |
| clearControls () | |
| eventHandler () | |
| attachEventHandler ( $name, $handler, $param=NULL) | |
| getBox () | |
| setBoxId ( $id) | |
| setBoxClass ( $cssClass, $add=true) | |
| getBoxClass () | |
| setBoxAttributes ($attr) | |
| getBoxAttributes () | |
| addBoxStyle ($name, $value='') | |
| generateBox ( $content) | |
| getRender ( $method) | |
| getInnerToString () | |
| generateInner () | |
Membros públicos herdados de MComponent | |
| SetName ($name) | |
| GetName () | |
| AddComponent ($component) | |
| InsertComponent ($component, $pos=0) | |
| SetComponent ($component, $pos) | |
| SetComponents ($components) | |
| GetComponents () | |
| GetComponent ($pos) | |
| ClearComponents () | |
Membros públicos estáticos | |
| static | getPopupContainer () |
| static | prompt ($message, $label=NULL, $action=':promptConfirmation', $defaultValue=NULL) |
| static | alert ($message, $label=NULL, $action='javascript:mpopup.remove();') |
| static | confirm ($message, $label=NULL, $actionYes=NULL, $actionNo='javascript:mpopup.remove();') |
| static | show ($name, $content, $label, $closeButton=true, $focusField=NULL, $ajax=true, $class="", $modalSize=self::POPUP_GRANDE) |
| static | generateBootstrap ($name, $content, $label, $closeButton, $class, $modalSize=self::POPUP_GRANDE) |
| static | remove () |
Campos de Dados | |
| const | CONTAINER_ID = 'mPopupResponse' |
| const | PROMPT_FIELD_ID = 'mPopupPromptField' |
| const | POPUP_GRANDE = 'modal-lg' |
| const | POPUP_MEIDA = 'modal-md' |
| const | POPUP_PEQUENA = 'modal-sm' |
| $content | |
| $title | |
Campos de Dados herdados de MControl | |
| const | FORM_MODE_WHOLE_ROW = 0 |
| const | FORM_MODE_SHOW_SIDE = 1 |
| const | FORM_MODE_SHOW_ABOVE = 2 |
| const | FORM_MODE_SHOW_NBSP = 3 |
| const | CLASS_CAPTION = 'm-caption' |
| const | CLASS_CAPTION_REQUIRED = 'm-caption-required' |
| const | TOOLTIP_PLACEMENT_BOTTOM = 'bottom' |
| const | TOOLTIP_PLACEMENT_TOP = 'top' |
| const | TOOLTIP_PLACEMENT_LEFT = 'left' |
| const | TOOLTIP_PLACEMENT_RIGHT = 'right' |
| const | TOOLTIP_PLACEMENT_AUTO = 'auto' |
| $id | |
| $uniqueId | |
| $cssClass | |
| $enabled | |
| $style | |
| $visible | |
| $attrs | |
| $attributes | |
| $formMode | |
| $maintainState | |
| $readonly | |
| $caption | |
| $jsHint | |
| $inner | |
| $controlBox | |
| $box | |
| $cssp | |
| $parent | |
| $controls | |
| $controlsId | |
| $eventHandlers | |
| $painter | |
Campos de Dados herdados de MComponent | |
| $manager | |
| $page | |
| $owner | |
| $components | |
| $componentCount | |
| $name | |
| $className | |
Membros protegidos estáticos | |
| static | getPromptFields ($message, $action, $defaultValue) |
| static | getAlertFields ($message, $action) |
| static | getConfirmFields ($message=null, $actionYes=null, $actionNo=null, $field=null) |
Outros membros herdados | |
Atributos Públicos Estáticos herdados de MControl | |
| static | $_number = 0 |
Membros protegidos herdados de MControl | |
| _AddStyle ($name, $value) | |
Definido na linha 31 do ficheiro mpopup.class.
| __construct | ( | $name, | |
| $content, | |||
| $title, | |||
| $closeBtn = true ) |
MPopup constructor.
| string | $name | Fields container id |
| array | $content | Array of fields to be shown on the popup |
| string | $label | Title string |
Reimplementado de MDiv.
Reimplementado em MPopupPrompt.
Definido na linha 64 do ficheiro mpopup.class.
|
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 |
Definido na linha 210 do ficheiro mpopup.class.
|
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 |
Definido na linha 223 do ficheiro mpopup.class.
| generate | ( | ) |
Reimplementado de MControl.
Definido na linha 340 do ficheiro mpopup.class.
|
static |
Definido na linha 261 do ficheiro mpopup.class.
|
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 |
Definido na linha 149 do ficheiro mpopup.class.
|
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 |
Definido na linha 165 do ficheiro mpopup.class.
| getModalSize | ( | ) |
Definido na linha 371 do ficheiro mpopup.class.
|
static |
Creates a div to put the popup upon. You really need to add this to your fields to get the MPopup component working.
Definido na linha 80 do ficheiro mpopup.class.
|
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 |
Definido na linha 131 do ficheiro mpopup.class.
| getShowCloseButton | ( | ) |
Definido na linha 335 do ficheiro mpopup.class.
|
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 |
Definido na linha 198 do ficheiro mpopup.class.
|
static |
Sets to remove the opened popup on loading the page.
Definido na linha 311 do ficheiro mpopup.class.
| setModalSize | ( | $modalSize | ) |
Definido na linha 376 do ficheiro mpopup.class.
| setShowCloseButton | ( | $showCloseButton | ) |
| boolean | $showCloseButton | Set whether to show the close button. |
Definido na linha 327 do ficheiro mpopup.class.
|
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 |
| boolean | $closeButton | Whether to show the close button. |
| string | $label | Title string |
Definido na linha 236 do ficheiro mpopup.class.
| $content |
Definido na linha 43 do ficheiro mpopup.class.
| $title |
Definido na linha 48 do ficheiro mpopup.class.
| const CONTAINER_ID = 'mPopupResponse' |
Definido na linha 33 do ficheiro mpopup.class.
| const POPUP_GRANDE = 'modal-lg' |
Definido na linha 35 do ficheiro mpopup.class.
| const POPUP_MEIDA = 'modal-md' |
Definido na linha 36 do ficheiro mpopup.class.
| const POPUP_PEQUENA = 'modal-sm' |
Definido na linha 37 do ficheiro mpopup.class.
| const PROMPT_FIELD_ID = 'mPopupPromptField' |
Definido na linha 34 do ficheiro mpopup.class.