Packages

  • 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
  • PHP

Classes

  • Button
  • Checkbox
  • FormControl
  • HiddenField
  • ImageButton
  • MultiSelectBox
  • RadioList
  • SelectBox
  • SubmitButton
  • TextArea
  • TextBase
  • TextInput
  • UploadControl
  • Overview
  • Package
  • Class
  • Tree

Class MultiSelectBox

Select box control that allows multiple item selection.

Object
Extended by Component implements IComponent
Extended by FormControl implements IFormControl
Extended by SelectBox
Extended by MultiSelectBox
Package: 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

SelectBox::getValue

Implementation of

IFormControl::getValue
public array
# getRawValue( )

Returns selected keys (not checked).

Returns selected keys (not checked).

Returns

array

Overrides

SelectBox::getRawValue
public array
# getSelectedItem( )

Returns selected values.

Returns selected values.

Returns

array

Overrides

SelectBox::getSelectedItem
public string
# getHtmlName( )

Returns HTML name of control.

Returns HTML name of control.

Returns

string

Overrides

FormControl::getHtmlName
public Html
# getControl( )

Generates control's HTML element.

Generates control's HTML element.

Returns

Html

Overrides

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

Count/length validator.

Count/length validator.

Parameters

$control
MultiSelectBox
$range
array
min and max length pair

Returns

boolean
Methods inherited from SelectBox
__construct(), areKeysUsed(), getItems(), getPrompt(), isFilled(), setItems(), setPrompt()
Methods inherited from FormControl
addCondition(), addConditionOn(), addError(), addRule(), attached(), cleanErrors(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getLabel(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), hasErrors(), isDisabled(), isRequired(), loadHttpData(), setAttribute(), setDefaultValue(), setDisabled(), setHtmlId(), setOption(), setRequired(), setTranslator(), setValue(), translate(), validateEqual(), validateFilled(), validateValid()
Methods inherited from Component
__clone(), __sleep(), __wakeup(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), unmonitor(), validateParent()
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Methods inherited from IComponent
setParent()
Constants inherited from IComponent
NAME_SEPARATOR
Properties inherited from SelectBox
$allowed
Properties inherited from FormControl
$caption, $control, $idMask, $label, $value
Nette Framework 2.0.1 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.7.0