Class MultiSelectBox (namespace Nette\Forms)


Select box control that allows multiple item selection.

Object
   |
   --Component
      |
      --FormControl
         |
         --SelectBox
            |
            --MultiSelectBox
Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /Forms/Controls/MultiSelectBox.php (line 21)
Public Method Summary
Html
Generates control's HTML element.
string
Returns name of control within a Form & INamingContainer scope.
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(), attached(), cleanErrors(), getControl(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getHtmlName(), getLabel(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), getValue(), hasErrors(), isDisabled(), isRendered(), isRequired(), loadHttpData(), notifyRule(), setDefaultValue(), setDisabled(), setHtmlId(), setOption(), setRendered(), setRequired(), setTranslator(), setValue(), translate(), validateEqual(), validateFilled(), validateValid()
Methods Inherited From Component
__construct(), attached(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent(), __clone(), __wakeup()
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Variable Summary

Method Details

line 102

getControl

public Html getControl ()

Generates control's HTML element.

Output
Html  

line 91

getHtmlName

public string getHtmlName ()

Returns name of control within a Form & INamingContainer scope.

Output
string  

line 44

getRawValue

public array getRawValue ()

Returns selected keys (not checked).

Output
array  

line 71

getSelectedItem

public array getSelectedItem ()

Returns selected values.

Output
array  

line 29

getValue

public array getValue ()

Returns selected keys.

Output
array