Class Range
- MvcCore\Ext\Form\Core\Field
-
MvcCore\Ext\Form\Range
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
public
string
|
$Type
Form control type, usually used in attr value, but unique type accross all form field types. |
#
'range'
|
public
|
$Min
|
#
null
|
public
|
$Max
|
#
null
|
public
|
$Step
|
#
null
|
public
boolean
|
$Multiple
|
#
FALSE
|
public
string
|
$Wrapper
|
#
'{control}'
|
public
string[]|Closure[]
|
$Validators
List of validator classes end-names or list of closure functions accepting arguments: $submitValue, $fieldName, \MvcCore\Ext\Form\Core\Field & $field and returning safe value as result. Closure function should call $field->Form->AddError() internaly if necessary and submitted value is not correct. All validator classes are located in directory: /Form/Validators/... For validator class \MvcCore\Ext\Form\Validators\Numeric is necessary only tu set 'Numeric'. |
#
array('RangeField')
|
public
string
|
$JsClass
Supporting javascript full class name. |
#
'MvcCoreForm.Range'
|
public
string
|
$Js
Supporting javascript file relative path. Replacement 'MVCCORE_FORM_DIR' is in rendering process replaced by \MvcCore\Ext\Form library root dir or by any other reconfigured value from $this->Form->jsAssetsRootDir; |
#
'__MVCCORE_FORM_DIR__/fields/range.js'
|
public
string
|
$Css
Supporting css file relative path. Replacement 'MVCCORE_FORM_DIR' is in rendering process replaced by \MvcCore\Ext\Form library root dir or by any other reconfigured value from $this->Form->cssAssetsRootDir; |
#
'__MVCCORE_FORM_DIR__/fields/range.css'
|
$ControlAttrs,
$CssClasses,
$Disabled,
$Errors,
$Form,
$Id,
$Label,
$LabelAttrs,
$LabelSide,
$Name,
$Readonly,
$RenderMode,
$Required,
$TemplatePath,
$Templates,
$Translate,
$Value,
$View,
$declaredProtectedProperties
|