Class MultiSelectBox (namespace Nette\Forms)


Select box control that allows multiple item selection.

Object
   |
   --Component
      |
      --FormControl
         |
         --SelectBox
            |
            --MultiSelectBox
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Forms/Controls/MultiSelectBox.php (line 34)
Public Method Summary
Html
Generates control's HTML element.
array
Returns selected keys (not checked).
array
Returns selected values.
array
Returns selected keys.
Methods Inherited From SelectBox
__construct(), areKeysUsed(), getControl(), getItems(), getRawValue(), getSelectedItem(), getValue(), isFirstSkipped(), setItems(), skipFirst(), validateFilled()
Methods Inherited From FormControl
__construct(), addCondition(), addConditionOn(), addError(), addRule(), cleanErrors(), getControl(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getHtmlName(), getLabel(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), getValue(), hasErrors(), isDisabled(), isRendered(), isRequired(), loadHttpData(), notifyRule(), setDisabled(), setHtmlId(), setOption(), setParent(), setRendered(), setRequired(), setTranslator(), setValue(), translate(), validateEqual(), validateFilled(), validateValid()
Methods Inherited From Component
__construct(), attached(), detached(), getName(), getParent(), getService(), getServiceLocator(), lookup(), lookupPath(), monitor(), setParent(), setServiceLocator(), validateParent(), __clone(), __wakeup()
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Variable Summary

Method Details

line 104

getControl

public Html getControl ()

Generates control's HTML element.

Output
Html  

line 57

getRawValue

public array getRawValue ()

Returns selected keys (not checked).

Output
array  

line 84

getSelectedItem

public array getSelectedItem ()

Returns selected values.

Output
array  

line 42

getValue

public array getValue ()

Returns selected keys.

Output
array