Class Email
- MvcCore\Ext\Form\Core\Field
-
MvcCore\Ext\Form\Text
-
MvcCore\Ext\Form\Email
OnAdded(),
RenderControl(),
SetAutocomplete(),
SetMaxlength(),
SetPattern(),
SetPlaceholder(),
SetSize(),
SetUp()
|
public
string
|
$Type
Form control type, usually used in attr value, but unique type accross all form field types. |
#
'email'
|
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('SafeString', 'Email'/*, 'Maxlength', 'Pattern'*/)
|
$Autocomplete,
$Maxlength,
$Pattern,
$Placeholder,
$Size
|
$ControlAttrs,
$Css,
$CssClasses,
$Disabled,
$Errors,
$Form,
$Id,
$Js,
$JsClass,
$Label,
$LabelAttrs,
$LabelSide,
$Name,
$Readonly,
$RenderMode,
$Required,
$TemplatePath,
$Templates,
$Translate,
$Value,
$View,
$declaredProtectedProperties
|