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

Classes

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class NMultiSelectBox

Select box control that allows multiple item selection.

NObject
Extended by NComponent implements IComponent
Extended by NFormControl implements IFormControl
Extended by NSelectBox
Extended by NMultiSelectBox
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

NSelectBox::getValue()
public array
# getRawValue( )

Returns selected keys (not checked).

Returns selected keys (not checked).

Returns

array

Overrides

NSelectBox::getRawValue()
public array
# getSelectedItem( )

Returns selected values.

Returns selected values.

Returns

array

Overrides

NSelectBox::getSelectedItem()
public string
# getHtmlName( )

Returns HTML name of control.

Returns HTML name of control.

Returns

string

Overrides

NFormControl::getHtmlName()
public NHtml
# getControl( )

Generates control's HTML element.

Generates control's HTML element.

Returns

NHtml

Overrides

NSelectBox::getControl()
public static boolean
# validateLength( NMultiSelectBox $control, array $range )

Count/length validator.

Count/length validator.

Parameters

$control
NMultiSelectBox
$range
array
min and max length pair

Returns

boolean
Methods inherited from NSelectBox
__construct(), areKeysUsed(), getItems(), getPrompt(), isFilled(), setItems(), setPrompt(), skipFirst()
Methods inherited from NFormControl
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 NComponent
__clone(), __sleep(), __wakeup(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), unmonitor(), validateParent()
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Methods inherited from IComponent
setParent()
Constants inherited from IComponent
NAME_SEPARATOR
Properties inherited from NSelectBox
$allowed
Properties inherited from NFormControl
$caption, $control, $idMask, $label, $value
Magic properties inherited from NSelectBox
$items, $prompt, $rawValue, $selectedItem
Magic properties inherited from NFormControl
$control, $controlPrototype, $defaultValue, $disabled, $errors, $filled, $form, $htmlId, $htmlName, $label, $labelPrototype, $options, $required, $rules, $translator, $value
Magic properties inherited from NComponent
$name, $parent
Magic properties inherited from NObject
$reflection
Nette Framework 2.0.18 (for PHP 5.2, prefixed) API documentation generated by ApiGen 2.8.0