Overview

Namespaces

  • MvcCore
    • Ext
      • Auth
        • Virtual
      • Debug
        • Tracy
      • Form
        • Core
        • Validators
      • Request
      • Router
        • Lang
      • View
        • Helpers
  • None

Classes

  • Button
  • Checkbox
  • CheckboxGroup
  • CountrySelect
  • Date
  • DateTime
  • Email
  • Hidden
  • NoType
  • Number
  • Password
  • RadioGroup
  • Range
  • ResetButton
  • ResetInput
  • Select
  • SubmitButton
  • SubmitInput
  • Text
  • Textarea
  • Time
  • Overview
  • Namespace
  • Class
  • Tree

Class Time

MvcCore\Ext\Form\Core\Field
Extended by MvcCore\Ext\Form\Date
Extended by MvcCore\Ext\Form\Time
Namespace: MvcCore\Ext\Form
Located at ext-form/src/MvcCore/Ext/Form/Time.php
Methods inherited from MvcCore\Ext\Form\Date
RenderControl(), SetFormat(), SetMax(), SetMin(), SetStep(), SetValue(), SetWrapper()
Methods inherited from MvcCore\Ext\Form\Core\Field
AddControlAttr(), AddCssClass(), AddError(), AddLabelAttr(), AddValidators(), GetValue(), OnAdded(), Render(), RenderControlInsideLabel(), RenderErrors(), RenderLabel(), RenderLabelAndControl(), RenderNaturally(), RenderTemplate(), SetControlAttrs(), SetCss(), SetCssClasses(), SetDisabled(), SetJs(), SetJsClass(), SetLabel(), SetLabelAttrs(), SetLabelSide(), SetName(), SetReadonly(), SetRenderMode(), SetRequired(), SetTemplatePath(), SetTranslate(), SetType(), SetUp(), SetValidators(), __construct(), __set(), renderAttrsWithFieldVars(), renderControlAttrsWithFieldVars(), renderLabelAttrsWithFieldVars()
Properties summary
public string $Type

date/time/datetime field, coud be defined in extended control classes laso as week, year or day

date/time/datetime field, coud be defined in extended control classes laso as week, year or day

See

http://www.html5tutorial.info/html5-date.php
# 'time'
public string $Format

Valid Datetime format to create PHP Datetime by DateTime::createFromFormat($field->Format);.

Valid Datetime format to create PHP Datetime by DateTime::createFromFormat($field->Format);.

See

http://php.net/manual/en/datetime.createfromformat.php

Example

'Y-m-d', 'Y/m/d' ...
# 'H:i'
public string[]|Closure[] $Validators

Validators used for submitted value to check format, min, max and dangerous characters

Validators used for submitted value to check format, min, max and dangerous characters

# array('Time')
Properties inherited from MvcCore\Ext\Form\Date
$Max, $Min, $Step, $Wrapper
Properties inherited from MvcCore\Ext\Form\Core\Field
$ControlAttrs, $Css, $CssClasses, $Disabled, $Errors, $Form, $Id, $Js, $JsClass, $Label, $LabelAttrs, $LabelSide, $Name, $Readonly, $RenderMode, $Required, $TemplatePath, $Templates, $Translate, $Value, $View, $declaredProtectedProperties
MvcCore API documentation generated by ApiGen