Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

  • BaseControl
  • Button
  • Checkbox
  • HiddenField
  • ImageButton
  • MultiSelectBox
  • RadioList
  • SelectBox
  • SubmitButton
  • TextArea
  • TextBase
  • TextInput
  • UploadControl
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class MultiSelectBox

Select box control that allows multiple item selection.

Nette\Object
Extended by Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent
Extended by Nette\Forms\Controls\BaseControl implements Nette\Forms\IControl
Extended by Nette\Forms\Controls\SelectBox
Extended by Nette\Forms\Controls\MultiSelectBox
Namespace: Nette\Forms\Controls
Author: David Grudl
Located at Forms/Controls/MultiSelectBox.php
Methods summary
public array
# getValue( )

Returns selected keys.

Returns selected keys.

Returns

array

Overrides

Nette\Forms\Controls\SelectBox::getValue()
public array
# getRawValue( )

Returns selected keys (not checked).

Returns selected keys (not checked).

Returns

array

Overrides

Nette\Forms\Controls\SelectBox::getRawValue()
public array
# getSelectedItem( )

Returns selected values.

Returns selected values.

Returns

array

Overrides

Nette\Forms\Controls\SelectBox::getSelectedItem()
public string
# getHtmlName( )

Returns HTML name of control.

Returns HTML name of control.

Returns

string

Overrides

Nette\Forms\Controls\BaseControl::getHtmlName()
public Nette\Utils\Html
# getControl( )

Generates control's HTML element.

Generates control's HTML element.

Returns

Nette\Utils\Html

Overrides

Nette\Forms\Controls\SelectBox::getControl()
public static boolean
# validateLength( Nette\Forms\Controls\MultiSelectBox $control, array $range )

Count/length validator.

Count/length validator.

Parameters

$control
Nette\Forms\Controls\MultiSelectBox
$range
array
min and max length pair

Returns

boolean
Methods inherited from Nette\Forms\Controls\SelectBox
__construct(), areKeysUsed(), getItems(), getPrompt(), isFilled(), setItems(), setPrompt(), skipFirst()
Methods inherited from Nette\Forms\Controls\BaseControl
addCondition(), addConditionOn(), addError(), addRule(), attached(), cleanErrors(), exportRules(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getLabel(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), hasErrors(), isDisabled(), isRequired(), loadHttpData(), setAttribute(), setDefaultValue(), setDisabled(), setHtmlId(), setOption(), setRequired(), setTranslator(), setValue(), translate()
Methods inherited from Nette\ComponentModel\Component
__clone(), __sleep(), __wakeup(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), unmonitor(), validateParent()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Methods inherited from Nette\ComponentModel\IComponent
setParent()
Constants inherited from Nette\ComponentModel\IComponent
NAME_SEPARATOR
Properties inherited from Nette\Forms\Controls\SelectBox
$allowed
Properties inherited from Nette\Forms\Controls\BaseControl
$caption, $control, $idMask, $label, $value
Magic properties inherited from Nette\Forms\Controls\SelectBox
$items, $prompt, $rawValue, $selectedItem
Magic properties inherited from Nette\Forms\Controls\BaseControl
$control, $controlPrototype, $defaultValue, $disabled, $errors, $filled, $form, $htmlId, $htmlName, $label, $labelPrototype, $options, $required, $rules, $translator, $value
Magic properties inherited from Nette\ComponentModel\Component
$name, $parent
Magic properties inherited from Nette\Object
$reflection
Nette 2.0 API documentation generated by ApiGen 2.8.0