Class BaseControl
Base class that implements the basic functionality common to form controls.
- Nette\Object
- Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent
- Nette\Forms\Controls\BaseControl implements Nette\Forms\IControl
Direct known subclasses
Nette\Forms\Controls\Button, Nette\Forms\Controls\Checkbox, Nette\Forms\Controls\HiddenField, Nette\Forms\Controls\RadioList, Nette\Forms\Controls\SelectBox, Nette\Forms\Controls\TextBase, Nette\Forms\Controls\UploadControlIndirect known subclasses
Nette\Forms\Controls\ImageButton, Nette\Forms\Controls\MultiSelectBox, Nette\Forms\Controls\SubmitButton, Nette\Forms\Controls\TextArea, Nette\Forms\Controls\TextInput
Abstract
Namespace: Nette\Forms\Controls
Author: David Grudl
Located at Forms/Controls/BaseControl.php
Namespace: 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
|