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\ChoiceControl, Nette\Forms\Controls\HiddenField, Nette\Forms\Controls\MultiChoiceControl, Nette\Forms\Controls\TextBase, Nette\Forms\Controls\UploadControlIndirect known subclasses
Nette\Forms\Controls\CheckboxList, Nette\Forms\Controls\CsrfProtection, Nette\Forms\Controls\ImageButton, Nette\Forms\Controls\MultiSelectBox, Nette\Forms\Controls\RadioList, Nette\Forms\Controls\SelectBox, 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
mixed
|
|
public
string
|
|
public
|
|
public
mixed
|
|
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
#
setOmitted( boolean $value = TRUE )
Sets whether control value is excluded from $form->getValues() result. |
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
|
|
public
string
|
|
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' |
|
public
string
|
$caption |
|
#
textual caption or label |
protected
mixed
|
$value |
|
#
current control value |
protected
|
$control |
|
#
control element template |
protected
|
$label |
|
#
label element template |
protected
boolean
|
$disabled | FALSE |
public
string
|
$htmlId | |
public
|
$translator | |
public
mixed
|
$value | |
public
boolean
|
$disabled | |
public
boolean
|
$omitted | |
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
|