Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationLatte
      • ApplicationTracy
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsLatte
      • Framework
      • HttpTracy
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • none
  • Tracy

Classes

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

Class CheckboxList

Set of checkboxes.

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\MultiChoiceControl
Extended by Nette\Forms\Controls\CheckboxList
Namespace: Nette\Forms\Controls
Author: David Grudl
Located at Forms/Controls/CheckboxList.php
Methods summary
public
# __construct( string $label = NULL, array $items = NULL )

Parameters

$label
string
caption
$items

Overrides

Nette\Forms\Controls\MultiChoiceControl::__construct()
public string
# getControl( )

Generates control's HTML element.

Generates control's HTML element.

Returns

string

Overrides

Nette\Forms\Controls\BaseControl::getControl()
public Nette\Utils\Html
# getLabel( string $caption = NULL )

Generates label's HTML element.

Generates label's HTML element.

Parameters

$caption
string

Returns

Nette\Utils\Html

Overrides

Nette\Forms\Controls\BaseControl::getLabel()
public Nette\Utils\Html
# getSeparatorPrototype( )

Returns separator HTML element template.

Returns separator HTML element template.

Returns

Nette\Utils\Html
public Nette\Utils\Html
# getControlPart( $key )

Returns

Nette\Utils\Html
public Nette\Utils\Html
# getLabelPart( $key )

Returns

Nette\Utils\Html
Methods inherited from Nette\Forms\Controls\MultiChoiceControl
getHtmlName(), getItems(), getRawValue(), getSelectedItems(), getValue(), isFilled(), loadHttpData(), setDisabled(), setItems(), setValue()
Methods inherited from Nette\Forms\Controls\BaseControl
addCondition(), addConditionOn(), addError(), addRule(), attached(), cleanErrors(), exportRules(), getControlPrototype(), getError(), getErrors(), getForm(), getHtmlId(), getHttpData(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), hasErrors(), isDisabled(), isOmitted(), isRequired(), setAttribute(), setDefaultValue(), setHtmlId(), setOmitted(), setOption(), setRequired(), setTranslator(), translate(), validate()
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 summary
protected Nette\Utils\Html $separator
#

separator element template

separator element template

Properties inherited from Nette\Forms\Controls\BaseControl
$caption, $control, $disabled, $idMask, $label, $value
Magic properties summary
public read-only Nette\Utils\Html $separatorPrototype
#
Magic properties inherited from Nette\Forms\Controls\MultiChoiceControl
$items, $rawValue, $selectedItems
Magic properties inherited from Nette\Forms\Controls\BaseControl
$control, $controlPrototype, $defaultValue, $disabled, $errors, $filled, $form, $htmlId, $htmlName, $label, $labelPrototype, $omitted, $options, $required, $rules, $translator, $value
Magic properties inherited from Nette\ComponentModel\Component
$name, $parent
Magic properties inherited from Nette\Object
$reflection
Nette 2.2 API documentation generated by ApiGen 2.8.0