Packages

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

Classes

  • NForm
  • NFormContainer
  • NFormGroup
  • NRule
  • NRules

Interfaces

  • IFormControl
  • IFormRenderer
  • ISubmitterControl
  • Overview
  • Package
  • Class
  • Tree

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, NTextInput, NUploadControl, NHiddenField, NImageButton, NMultiSelectBox, NRadioList, NSelectBox, NSubmitButton, NTextArea, NTextBase
Package: Nette\Forms
Author: David Grudl
Located at Forms/IControl.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 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0