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

Membros públicos

 __construct ($name, $value='', $label='', $module=NULL, $item='', $readOnly=FALSE, $hint='', $descriptionSize=50, $descriptionId='')
 
 getLookupField ()
 
 setLookupField ($lookupField)
 
 getDescriptionField ()
 
 setDescriptionField ($descriptionField)
 
 setContext ($module, $item, $related, $filter, $autoComplete=true)
 
 getRelated ()
 
 setInteger ($isInteger)
 
 doAutoComplete ($value=null)
 
 getContextAttribute ($attribute)
 
 setReadOnly ($readOnly)
 
 generateLabel ()
 
 generate ()
 
 addAttribute ($attr, $value='')
 
 addEvent ($event, $value, $preventDefault=true)
 
 setEvent ($action)
 
 setValue ($value)
 
 getValue ()
 
 setAutoComplete ($autocomplete=true)
 
- Membros públicos herdados de MContainer
 __construct ($name=NULL, $controls=NULL, $disposition='none', $formMode=MFormControl::FORM_MODE_SHOW_ABOVE)
 
 setDisposition ($disposition)
 
 isShowLabel ()
 
 isShowChildLabel ()
 
 setShowChildLabel ( $visible=true, $recursive=true)
 
 setShowLabel ( $visible=true, $recursive=true)
 
 setControls ($controls, $recursive=false)
 
 generateInner ()
 
- Membros públicos herdados de MContainerControl
 __construct ( $name=NULL)
 
 __clone ()
 
 addControl ($control)
 
 insertControl ($control, $pos=0)
 
 setControl ($control, $pos=0)
 
 setControls ($controls)
 
 getControls ()
 
 getControl ($pos)
 
 getControlById ($id)
 
 findControlById ($id)
 
 setControlById ($control, $id)
 
 clearControls ()
 
- Membros públicos herdados de MControl
 setName ($name)
 
 setId ($id)
 
 getId ()
 
 getName ()
 
 getUniqueId ()
 
 __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)
 
 getBox ()
 
 setBoxId ( $id)
 
 setBoxClass ( $cssClass, $add=true)
 
 getBoxClass ()
 
 setBoxAttributes ($attr)
 
 getBoxAttributes ()
 
 generateBox ( $content)
 
 setAttribute ( $name, $value)
 
 getAttribute ( $name)
 
 setAttributes ($attr)
 
 attributes ( $mergeDuplicates=false)
 
 getAttributes ( $mergeDuplicates=false)
 
 setEnabled ($state)
 
 setJsHint ( $hint)
 
 setHint ( $hint)
 
 setCaption ($caption)
 
 setHTMLTitle ($title)
 
 addBoxStyle ($name, $value)
 
 eventHandler ()
 
 attachEventHandler ( $name, $handler, $param=NULL)
 
 hasEvent ($event)
 
 generateEvent ()
 
 setContent ($inner)
 
 setInner ($inner)
 
 getInner ()
 
 getRender ( $method)
 
 getInnerToString ()
 
 getCSSP ()
 
 __toString ()
 
- Membros públicos herdados de MComponent
 getManager ()
 

Campos de Dados

 $value
 
 $descriptionSize
 
 $label
 
 $module
 
 $item
 
 $hint
 
- Campos de Dados herdados de MContainer
 $disposition
 
 $formMode
 
 $showLabel
 
 $showChildLabel = true
 
- Campos de Dados herdados de MContainerControl
 $controls
 
 $controlsId
 
- 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 MContainerControl
 _AddControl ($control, $pos=0, $op='add')
 
- 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 2010/08/04

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

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $name,
$value = '',
$label = '',
$module = NULL,
$item = '',
$readOnly = FALSE,
$hint = '',
$descriptionSize = 50,
$descriptionId = '' )

MLookupContainer constructor.

Parâmetros
string$nameInput name.
string$valueDefault value.
string$labelLabel.
string$moduleLookup module.
string$itemLookup item.
boolean$readOnlyWhether field is read only.
string$hintHint.
integer$descriptionSizeDescription field size.
string$descriptionIdDescription field id.

Documentação das funções

◆ addAttribute()

addAttribute ( $attr,
$value = '' )

Add an attribute to the lookup field.

Parâmetros
string$attrAttribute name.
string$valueAttribute value.

Reimplementado de MControl.

◆ addEvent()

addEvent ( $event,
$value,
$preventDefault = true )

Add an event to the lookup field.

Parâmetros
string$eventEvent name.
string$valueEvent action.
boolean$preventDefaultWhether to prevent the default action.

Reimplementado de MControl.

◆ doAutoComplete()

doAutoComplete ( $value = null)

Execute the auto complete action.

Parâmetros
string$valueValue.
Retorna
array Data to put on the lookup fields.

◆ generate()

generate ( )
Retorna
string Generate component.

Reimplementado de MDiv.

◆ generateLabel()

generateLabel ( )
Retorna
string Generate field label.

◆ getContextAttribute()

getContextAttribute ( $attribute)

Get context attribute.

Parâmetros
string$attributeAttribute name.
Retorna
mixed Attribute value.

◆ getDescriptionField()

getDescriptionField ( )
Retorna
MTextField Get the description field.

◆ getLookupField()

getLookupField ( )
Retorna
MLookupTextField Get the lookup field.

◆ getRelated()

getRelated ( )
Retorna
string Get related field ids.

◆ getValue()

getValue ( )
Retorna
string Get the lookup value.

◆ setAutoComplete()

setAutoComplete ( $autocomplete = true)
Parâmetros
boolean$autocompleteSet whether it supports auto complete.

◆ setContext()

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

Set lookup context.

Parâmetros
string$moduleLookup module.
string$itemLookup item.
string$relatedRelated field ids.
array$filterFilters.
boolean$autoCompleteWhether it has auto complete feature.

◆ setDescriptionField()

setDescriptionField ( $descriptionField)
Parâmetros
MTextField$descriptionFieldSet the description field.

◆ setEvent()

setEvent ( $action)

Set lookup field event.

Parâmetros
string$actionEvent action.

◆ setInteger()

setInteger ( $isInteger)
Parâmetros
boolean$isIntegerSets if the lookup field must be rendered as a MIntegerField.

◆ setLookupField()

setLookupField ( $lookupField)
Parâmetros
MLookupTextField$lookupFieldSet the lookup field.

◆ setReadOnly()

setReadOnly ( $readOnly)
Parâmetros
boolean$readOnlySet lookup as read only.

Reimplementado de MControl.

◆ setValue()

setValue ( $value)
Parâmetros
string$valueSet the value of the lookup field.

Documentação dos campos e atributos

◆ $descriptionSize

$descriptionSize

◆ $hint

$hint

◆ $item

$item

◆ $label

$label

◆ $module

$module

◆ $value

$value

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