Class NFormControl
Base class that implements the basic functionality common to form controls.
- NObject
- NComponent implements IComponent
- NFormControl implements IFormControl
Direct known subclasses
NButton, NCheckbox, NFileUpload, NHiddenField, NRadioList, NSelectBox, NTextBase
public
|
|
protected
|
#
attached(
This method will be called when the component becomes attached to Form. |
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( 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( 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 |