Packages

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

Classes

  • NButton
  • NCheckbox
  • NConventionalRenderer
  • NFileUpload
  • NForm
  • NFormContainer
  • NFormGroup
  • NHiddenField
  • NImageButton
  • NInstantClientScript
  • NMultiSelectBox
  • NRadioList
  • NRule
  • NRules
  • NSelectBox
  • NSubmitButton
  • NTextArea
  • NTextBase
  • NTextInput

Interfaces

  • IFormControl
  • IFormRenderer
  • INamingContainer
  • ISubmitterControl
  • Overview
  • Package
  • 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

ISubmitterControl, NFormControl

Indirect known implementers

NButton, NCheckbox, NTextBase, NTextInput, NFileUpload, NHiddenField, NImageButton, NMultiSelectBox, NRadioList, NSelectBox, NSubmitButton, NTextArea
Package: 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 NRules
# getRules( )

Returns

NRules
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 (for PHP 5.2) API documentation generated by ApiGen 2.3.0