MIOLO25
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MSelection
Diagrama de heranças da classe MSelection
MListControl MListControl MFormControl MInputControl MFormControl MInputControl MControl MFormControl MControl MFormControl MComponent MControl MComponent MControl MComponent MComponent MComboBox MComboBox MDualList Selection ComboBox ComboBox

Membros públicos

 __construct ($name='', $value='', $label='', $options, $showValues=false, $hint='', $size='')
 
 setOptions ($options)
 
 getOption ($value)
 
 setOption ($option, $value)
 
 setCols ($value)
 
 setAutoSubmit ($state)
 
 generateInner ()
 
 __construct ($name='', $value='', $label='', $options, $showValues=FALSE, $hint='', $size='', $allowNullValue=TRUE)
 
 setOptions ($options, $allowNullValue=TRUE)
 
 getOption ($value)
 
 setOption ($option, $value)
 
 setCols ($value)
 
 setAutoSubmit ($state)
 
 generateInner ()
 
- Membros públicos herdados de MListControl
 __construct ($name='', $label='', $options='', $showValues=false, $hint='')
 
 generateOptions ()
 
 __construct ($name='', $label='', $options='', $showValues=false, $hint='')
 
 generateOptions ()
 
- Membros públicos herdados de MFormControl
 setValue ( $value)
 
 getValue ()
 
 setSubmittedValue ()
 
 setLabel ( $label)
 
 setFormMode ( $mode)
 
 setReadOnly ( $status)
 
- 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)
 
 addAttribute ( $name, $value='')
 
 setAttribute ( $name, $value=null)
 
 getAttribute ( $name)
 
 setAttributes ($attr)
 
 attributes ( $mergeDuplicates=false)
 
 getAttributes ( $mergeDuplicates=false)
 
 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 ()
 
 generate ()
 
 __toString ()
 
- Membros públicos herdados de MComponent
 getManager ()
 
- Membros públicos herdados de MInputControl
 setAutoPostBack ( $value)
 
 generateLabel ()
 
 getOnClick ($action, $attr, $optional)
 

Campos de Dados

 $autoPostBack
 
 $event
 
- Campos de Dados herdados de MListControl
 $options
 
 $showValues
 
 $content
 
 $size
 
 $cols
 
 $type
 
- Campos de Dados herdados de MFormControl
 $label
 
 $showLabel
 
const ALIGN_CENTER = 'center'
 
const ALIGN_LEFT = 'left'
 
const ALIGN_RIGHT = 'right'
 
const LAYOUT_HORIZONTAL = 'horizontal'
 
const LAYOUT_VERTICAL = 'vertical'
 
 $form
 
 $formName
 
 $controlBox
 
 $box
 
 $value
 
- 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
 
- Campos de Dados herdados de MInputControl
 $autoPostBack
 
 $validator
 

Outros membros herdados

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

Documentação dos Construtores & Destrutor

◆ __construct() [1/2]

__construct ( $name = '',
$value = '',
$label = '',
$options,
$showValues = false,
$hint = '',
$size = '' )

Reimplementado em MComboBox e MComboBox.

◆ __construct() [2/2]

__construct ( $name = '',
$value = '',
$label = '',
$options,
$showValues = FALSE,
$hint = '',
$size = '',
$allowNullValue = TRUE )

MSelection constructor.

Parâmetros
string$nameField name and id.
string$valueInitial value.
string$labelField label.
array$optionsOptions.
boolean$showValuesSets whether the options must show their values.
string$hintHelpful hint.
integer$sizeField size.
boolean$allowNullValueSets whether it must show a blank option at the beginning.

Documentação das funções

◆ generateInner() [1/2]

generateInner ( )

Reimplementado de MControl.

Reimplementado em MComboBox e MComboBox.

◆ generateInner() [2/2]

generateInner ( )

Reimplementado de MControl.

Reimplementado em MComboBox e MComboBox.

◆ getOption() [1/2]

getOption ( $value)

◆ getOption() [2/2]

getOption ( $value)

◆ setAutoSubmit() [1/2]

setAutoSubmit ( $state)

◆ setAutoSubmit() [2/2]

setAutoSubmit ( $state)

◆ setCols() [1/2]

setCols ( $value)

◆ setCols() [2/2]

setCols ( $value)

◆ setOption() [1/2]

setOption ( $option,
$value )

◆ setOption() [2/2]

setOption ( $option,
$value )

◆ setOptions() [1/2]

setOptions ( $options)

◆ setOptions() [2/2]

setOptions ( $options,
$allowNullValue = TRUE )

Set the options array.

Parâmetros
array$optionsOptions.
boolean$allowNullValueSets whether it must show a blank option at the beginning.

Documentação dos campos e atributos

◆ $autoPostBack

$autoPostBack

◆ $event

$event

A documentação para esta classe foi gerada a partir dos seguintes ficheiros: