MIOLO25
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MDialog
Diagrama de heranças da classe MDialog
MDiv MControl MControl MComponent MComponent

Membros públicos

 __construct ($name, $title, $controls)
 
 setWidth ($width)
 
 setHeight ($height)
 
 show ($div=self::DEFAULT_CONTAINER)
 
 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')
 
 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 getDefaultContainer ()
 
static close ($dialogName)
 

Campos de Dados

const DEFAULT_CONTAINER = 'mDialogContainer'
 
- 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
 

Outros membros herdados

- Atributos Públicos Estáticos herdados de MControl
static $_number = 0
 
- Membros protegidos herdados de MControl
 _addStyle ($name, $value)
 

Descrição detalhada

Dialog component.

Autor
Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]

Maintainers:
Armando Taffarel Neto [taffa.nosp@m.rel@.nosp@m.solis.nosp@m..coo.nosp@m.p.br] Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]

Desde
Creation date 2012/03/14

Organization:
SOLIS - Cooperativa de Soluções Livres
Copyright:
Copyright (c) 2012 SOLIS - Cooperativa de Soluções Livres
License:
Licensed under GPLv2 (for further details read the COPYING file or http://www.gnu.org/licenses/gpl.html)

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $name,
$title,
$controls )

Dialog constructor.

Parâmetros
string$nameId of the dialog.
string$titleTitle of the dialog.
array$controlsComponents to put inside the content area.

Documentação das funções

◆ close()

static close ( $dialogName)
static

Close dialog.

Parâmetros
string$dialogNameDialog name.

◆ generate()

generate ( )
Retorna
string Generate the HTML format of the component.

Reimplementado de MDiv.

◆ getDefaultContainer()

static getDefaultContainer ( )
static
Retorna
MDiv Get the default container to put the dialog.

◆ setHeight()

setHeight ( $height)
Parâmetros
string$heightSet the CSS height.

Reimplementado de MControl.

◆ setWidth()

setWidth ( $width)
Parâmetros
string$widthSet the CSS width.

Reimplementado de MControl.

◆ show()

show ( $div = self::DEFAULT_CONTAINER)

Display the dialog. Can olny be called in AJAX requests.

Parâmetros
string$divDiv id to put the dialog.

Documentação dos campos e atributos

◆ DEFAULT_CONTAINER

const DEFAULT_CONTAINER = 'mDialogContainer'

Default div id to put the dialog.


A documentação para esta classe foi gerada a partir do seguinte ficheiro: