Class FormControl
Base class that implements the basic functionality common to form controls.
- Nette\Object
- Nette\Component implements Nette\IComponent
- Nette\Forms\FormControl implements Nette\Forms\IFormControl
Direct known subclasses
Nette\Forms\Button, Nette\Forms\Checkbox, Nette\Forms\FileUpload, Nette\Forms\HiddenField, Nette\Forms\RadioList, Nette\Forms\SelectBox, Nette\Forms\TextBaseIndirect known subclasses
Nette\Forms\ImageButton, Nette\Forms\MultiSelectBox, Nette\Forms\SubmitButton, Nette\Forms\TextArea, Nette\Forms\TextInput
public
|
|
protected
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
final public
mixed
|
|
final public
array
|
|
public
|
|
final public
|
|
public
string
|
|
public
|
|
public
mixed
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
final public
|
|
final public
|
|
public
|
|
public
|
#
addCondition( mixed $operation, mixed $value = NULL )
Adds a validation condition a returns new branch. |
public
|
#
addConditionOn( Nette\Forms\IFormControl $control, mixed $operation, mixed $value = NULL )
Adds a validation condition based on another control a returns new branch. |
final public
|
|
public
|
|
public static
boolean
|
#
validateEqual( Nette\Forms\IFormControl $control, mixed $arg )
Equal validator: are control's value and second parameter equal? |
public static
boolean
|
|
public static
boolean
|
|
public
|
|
public
array
|
|
public
boolean
|
|
public
|
__clone(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
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 |