Class Date
- MvcCore\Ext\Form\Core\Field
-
MvcCore\Ext\Form\Date
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
SetWrapper( string $wrapper )
Set html code wrapper, wrapper has to contain replacement in form '{control}'. Around this substring you can wrap any html code you want. |
public
string
|
#
RenderControl( )
Render control element, without label or possible error messages, only the element. |
public
string
|
$Type
date/time/datetime field, coud be defined in extended control classes laso as week, year or day |
#
'date'
|
public
string
|
$Format
Valid Datetime format to create PHP Datetime by DateTime::createFromFormat($field->Format);. |
#
'Y-m-d'
|
public
string
|
$Min
Minimum date/time/datetime for current control, by configured format asigned as string value. |
#
null
|
public
string
|
$Max
Maximum date/time/datetime for current control, by configured format asigned as string value. |
#
null
|
public
string
|
$Step
HTML5 input:date, input:time and input:datetime control step attribute in seconds. |
#
null
|
public
string
|
$Wrapper
Any html code containing substring '{control}' to wrap any code around control itself. |
#
'{control}'
|
public
string[]|Closure[]
|
$Validators
Validators used for submitted value to check format, min, max and dangerous characters |
#
array('Date')
|
$ControlAttrs,
$Css,
$CssClasses,
$Disabled,
$Errors,
$Form,
$Id,
$Js,
$JsClass,
$Label,
$LabelAttrs,
$LabelSide,
$Name,
$Readonly,
$RenderMode,
$Required,
$TemplatePath,
$Templates,
$Translate,
$Value,
$View,
$declaredProtectedProperties
|