Class FormControl
Base class that implements the basic functionality common to form controls.
- Object
- Component implements IComponent
- FormControl implements IFormControl
Direct known subclasses
Button, Checkbox, HiddenField, RadioList, SelectBox, TextBase, UploadControl
Abstract
Package: Nette\Forms\Controls
Author: David Grudl
Located at Forms/Controls/BaseControl.php
Package: Nette\Forms\Controls
Author: David Grudl
Located at Forms/Controls/BaseControl.php
public
|
|
protected
|
#
attached(
This method will be called when the component becomes attached to Form. |
public
|
|
public
|
|
public
string
|
|
public
|
|
public
mixed
|
|
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
#
addCondition( mixed $operation, mixed $value = NULL )
Adds a validation condition a returns new branch. |
public
|
#
addConditionOn(
Adds a validation condition based on another control a returns new branch. |
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
array
|
|
public
boolean
|
|
public
|
|
protected static
array
|
|
public
|
|
public
mixed
|
|
public
array
|
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
setParent()
|
NAME_SEPARATOR
|
public static
string
|
$idMask | 'frm%s-%s' |
|
public
string
|
$caption |
|
#
textual caption or label |
protected
mixed
|
$value |
|
#
unfiltered control value |
protected
|
$control |
|
#
control element template |
protected
|
$label |
|
#
label element template |
public
string
|
$htmlId | |
public
|
$translator | |
public
mixed
|
$value | |
public
boolean
|
$disabled | |
public
boolean
|
$required | |
public read-only
|
$form | |
public read-only
string
|
$htmlName | |
public read-only
array
|
$options | |
public read-only
boolean
|
$filled | |
public read-only
|
$control | |
public read-only
|
$label | |
public read-only
|
$controlPrototype | |
public read-only
|
$labelPrototype | |
public read-only
|
$rules | |
public read-only
array
|
$errors | |
public write-only
|
$defaultValue |
$name,
$parent
|
$reflection
|