Namespaces

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

Classes

  • Container
  • ControlGroup
  • Form
  • Helpers
  • Rule
  • Rules

Interfaces

  • IControl
  • IFormRenderer
  • ISubmitterControl
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Interface IControl

Defines method that must be implemented to allow a component to act like a form control.

Direct known implementers

Nette\Forms\Controls\BaseControl, Nette\Forms\ISubmitterControl

Indirect known implementers

Nette\Forms\Controls\Button, Nette\Forms\Controls\Checkbox, Nette\Forms\Controls\SelectBox, Nette\Forms\Controls\SubmitButton, Nette\Forms\Controls\TextArea, Nette\Forms\Controls\TextBase, Nette\Forms\Controls\TextInput, Nette\Forms\Controls\UploadControl, Nette\Forms\Controls\CheckboxList, Nette\Forms\Controls\ChoiceControl, Nette\Forms\Controls\CsrfProtection, Nette\Forms\Controls\HiddenField, Nette\Forms\Controls\ImageButton, Nette\Forms\Controls\MultiChoiceControl, Nette\Forms\Controls\MultiSelectBox, Nette\Forms\Controls\RadioList
Namespace: Nette\Forms
Author: David Grudl
Located at Forms/IControl.php
Methods summary
public
# setValue( mixed $value )

Sets control's value.

Sets control's value.

Parameters

$value
mixed
public mixed
# getValue( )

Returns control's value.

Returns control's value.

Returns

mixed
public
# validate( )
public array
# getErrors( )

Returns errors corresponding to control.

Returns errors corresponding to control.

Returns

array
public boolean
# isOmitted( )

Is control value excluded from $form->getValues() result?

Is control value excluded from $form->getValues() result?

Returns

boolean
public string
# translate( string $s, integer $count = NULL )

Returns translated string.

Returns translated string.

Parameters

$s
string
$count
integer
plural count

Returns

string
Nette 2.1 API documentation generated by ApiGen 2.8.0