Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • Button
  • Checkbox
  • ConventionalRenderer
  • FileUpload
  • Form
  • FormContainer
  • FormControl
  • FormGroup
  • HiddenField
  • ImageButton
  • InstantClientScript
  • MultiSelectBox
  • RadioList
  • Rule
  • Rules
  • SelectBox
  • SubmitButton
  • TextArea
  • TextBase
  • TextInput

Interfaces

  • IFormControl
  • IFormRenderer
  • INamingContainer
  • ISubmitterControl
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Interface IFormControl

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

Direct known implementers

Nette\Forms\FormControl, Nette\Forms\ISubmitterControl

Indirect known implementers

Nette\Forms\Button, Nette\Forms\Checkbox, Nette\Forms\TextBase, Nette\Forms\TextInput, Nette\Forms\FileUpload, Nette\Forms\HiddenField, Nette\Forms\ImageButton, Nette\Forms\MultiSelectBox, Nette\Forms\RadioList, Nette\Forms\SelectBox, Nette\Forms\SubmitButton, Nette\Forms\TextArea
Namespace: Nette\Forms
Author: David Grudl
Located at Forms/IFormControl.php
Methods summary
public
# loadHttpData( )

Loads HTTP data.

Loads HTTP data.

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 Nette\Forms\Rules
# getRules( )

Returns

Nette\Forms\Rules
public array
# getErrors( )

Returns errors corresponding to control.

Returns errors corresponding to control.

Returns

array
public boolean
# isDisabled( )

Is control disabled?

Is control disabled?

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 Framework 0.9.7 API documentation generated by ApiGen 2.3.0