MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MLookupContainer
Diagrama de heranças da classe MLookupContainer
MContainer MFormControl MControl MComponent

Membros públicos

 __construct ($lookupName, $descriptionName='', $value='', $label='', $related='', $module='', $item='', $filter='', $descriptionReadOnly=true, $lookupSize=4, $descriptionSize=38, $autocomplete=true, $showRequiredLabel=false)
 
 getLookupField ()
 
 setLookupField ($lookupField)
 
 getDescriptionField ()
 
 setDescriptionField ($descriptionField)
 
 setLookupJsHint ($jsHint)
 
 setDescriptionJsHint ($jsHint)
 
 setHint ($hint)
 
 setContext ($module, $item, $related, $filter, $autoComplete=true, $event='filler')
 
 setReadOnly ($readOnly)
 
 addAttribute ($attribute, $value=NULL)
 
 setLookupValue ($value)
 
 getLookupValue ()
 
- Membros públicos herdados de MContainer
 __construct ($name=NULL, $controls=NULL, $disposition='none', $formMode=self::FORM_MODE_SHOW_ABOVE)
 
 setClass ($cssClass, $add=true)
 
 setSpaceHeight ($value)
 
 setSpaceWidth ($value)
 
 setDisposition ($disposition)
 
 isShowLabel ()
 
 isShowChildLabel ()
 
 setShowChildLabel ($visible=true, $recursive=true)
 
 setShowLabel ($visible=true, $recursive=true)
 
 setControls ($controls, $recursive=false)
 
 GenerateInner ()
 
- Membros públicos herdados de MFormControl
 __construct ( $name, $value='', $label='', $color='', $hint='')
 
 setValue ( $value)
 
 getValue ()
 
 setLabel ( $label)
 
 setAutoPostBack ( $value)
 
 setAutoSubmit ( $isAuto=true)
 
 getIsRequired ()
 
 setIsRequired ($isRequired)
 
 getRequiredType ()
 
 getFieldForm ()
 
 setFieldForm (MForm $form)
 
 generateLabel ()
 
- Membros públicos herdados de MControl
 __construct ( $name=NULL)
 
 __clone ()
 
 __set ( $name, $value)
 
 __get ( $name)
 
 setEnabled ($state)
 
 setName ($name)
 
 setId ($id)
 
 setNameAndId ($name)
 
 getId ()
 
 getName ()
 
 getUniqueId ()
 
 addStyleFile ( $styleFile)
 
 getClass ()
 
 addStyle ($name, $value)
 
 setStyle ($style)
 
 getStyle ()
 
 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 ()
 
 generate ()
 
- Membros públicos herdados de MComponent
 SetName ($name)
 
 GetName ()
 
 AddComponent ($component)
 
 InsertComponent ($component, $pos=0)
 
 SetComponent ($component, $pos)
 
 SetComponents ($components)
 
 GetComponents ()
 
 GetComponent ($pos)
 
 ClearComponents ()
 

Outros membros herdados

- Campos de Dados herdados de MContainer
 $disposition
 
 $separator
 
 $spaceHeight
 
 $spaceWidth = '  '
 
 $formMode
 
 $showLabel
 
 $showChildLabel = true
 
 $showRequiredLabel
 
- Campos de Dados herdados de MFormControl
 $label
 
 $value
 
 $hint
 
 $form
 
 $formName
 
 $showLabel
 
 $autoPostBack
 
 $forceShowLabel = false
 
 $isRequired
 
 $autoSetRequired = true
 
- 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
 
- Atributos Públicos Estáticos herdados de MControl
static $_number = 0
 
- Membros protegidos herdados de MControl
 _AddStyle ($name, $value)
 

Descrição detalhada

MLookupContainer

Autor
Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]
Versão
$id$

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 2011/04/06

Organization:
SOLIS - Cooperativa de Soluções Livres
Copyright:
Copyright (c) 2011 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)

History:
See history in CVS repository: http://www.miolo.org.br

Definido na linha 30 do ficheiro mlookupcontainer.class.

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $lookupName,
$descriptionName = '',
$value = '',
$label = '',
$related = '',
$module = '',
$item = '',
$filter = '',
$descriptionReadOnly = true,
$lookupSize = 4,
$descriptionSize = 38,
$autocomplete = true,
$showRequiredLabel = false )

MLookupContainer constructor

Parâmetros
string$lookupNameLookup field name
string$descriptionNameDescription field name
string$valueLookup field value
string$labelLabel
string$relatedLookup related
string$moduleLookup module
string$itemLookup item
array$filterLookup filters
boolean$descriptionReadOnlyWhether description field is read-only
int$lookupSizeLookup field size
int$descriptionSizeDescription field size
boolean$autocompleteWhether lookup has autocomplete

Definido na linha 58 do ficheiro mlookupcontainer.class.

Documentação das funções

◆ addAttribute()

addAttribute ( $attribute,
$value = NULL )

Set an attribute to lookup field

Parâmetros
string$attributeAttribute for lookup field
string$valueValue for the attribute

Reimplementado de MControl.

Definido na linha 188 do ficheiro mlookupcontainer.class.

◆ getDescriptionField()

getDescriptionField ( )
Retorna
object MTextField instance

Definido na linha 105 do ficheiro mlookupcontainer.class.

◆ getLookupField()

getLookupField ( )
Retorna
object MLookupTextField instance

Definido na linha 89 do ficheiro mlookupcontainer.class.

◆ getLookupValue()

getLookupValue ( )
Retorna
string Get lookup field value

Definido na linha 204 do ficheiro mlookupcontainer.class.

◆ setContext()

setContext ( $module,
$item,
$related,
$filter,
$autoComplete = true,
$event = 'filler' )

Set lookup attributes

Parâmetros
string$moduleLookup module
string$itemLookup item
string$relatedLookup related
array$filterLookup filters
boolean$autocompleteWhether lookup has autocomplete
string$eventLookup event

Definido na linha 152 do ficheiro mlookupcontainer.class.

◆ setDescriptionField()

setDescriptionField ( $descriptionField)
Parâmetros
object$descriptionFieldMTextField instance

Definido na linha 113 do ficheiro mlookupcontainer.class.

◆ setDescriptionJsHint()

setDescriptionJsHint ( $jsHint)
Parâmetros
string$jsHintJavascript hint of the description field

Definido na linha 129 do ficheiro mlookupcontainer.class.

◆ setHint()

setHint ( $hint)
Parâmetros
string$hintSet hint text.

Definido na linha 137 do ficheiro mlookupcontainer.class.

◆ setLookupField()

setLookupField ( $lookupField)
Parâmetros
object$lookupFieldMLookupTextField instance

Definido na linha 97 do ficheiro mlookupcontainer.class.

◆ setLookupJsHint()

setLookupJsHint ( $jsHint)
Parâmetros
string$jsHintJavascript hint of the lookup field

Definido na linha 121 do ficheiro mlookupcontainer.class.

◆ setLookupValue()

setLookupValue ( $value)
Parâmetros
string$valueSet lookup field value

Definido na linha 196 do ficheiro mlookupcontainer.class.

◆ setReadOnly()

setReadOnly ( $readOnly)
Parâmetros
boolean$readOnlySet both, lookup and description fields, read-only

Reimplementado de MControl.

Definido na linha 175 do ficheiro mlookupcontainer.class.


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