Dojo/Form/Element/DateTextBox.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Dojo
- Subpackage
- Form_Element
\Zend_Dojo_Form_Element_DateTextBox
Package: Zend_Dojo\Form_Element
DateTextBox dijit
- Parent(s)
- \Zend_Dojo_Form_Element_ValidationTextBox < \Zend_Dojo_Form_Element_TextBox < \Zend_Dojo_Form_Element_Dijit < \Zend_Form_Element
- Children
- \Zend_Dojo_Form_Element_TimeTextBox
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- Version
- $Id$
Properties
array $_allowedFormatTypes = array('long', 'short', 'medium', 'full')
Allowed formatLength types
Default value
array('long', 'short', 'medium', 'full')
Details- Type
- array
array $_allowedSelectorTypes = array('time', 'date')
Allowed selector types
Default value
array('time', 'date')
Details- Type
- array
Methods
setAmPm( $flag) : \Zend_Dojo_Form_Element_DateTextBox
Set am,pm flag
Parameters
Returns
Name | Type | Description |
---|---|---|
$flag |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_DateTextBox |
setDatePattern(string $pattern) : \Zend_Dojo_Form_Element_NumberTextBox
Set date format pattern
Parameters
Returns
Name | Type | Description |
---|---|---|
$pattern | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_NumberTextBox |
setFormatLength(string $formatLength) : \Zend_Dojo_Form_Element_NumberTextBox
Set numeric format formatLength
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$formatLength | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_NumberTextBox |
setLocale(string $locale) : \Zend_Dojo_Form_Element_DateTextBox
Set locale
Parameters
Returns
Name | Type | Description |
---|---|---|
$locale | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_DateTextBox |
setSelector(string $selector) : \Zend_Dojo_Form_Element_NumberTextBox
Set numeric format Selector
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$selector | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_NumberTextBox |
setStrict( $flag) : \Zend_Dojo_Form_Element_DateTextBox
Set strict flag
Parameters
Returns
Name | Type | Description |
---|---|---|
$flag |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_DateTextBox |