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 license@zend.com 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_DateTextBoxSet am,pm flag
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $flag |
| Type | Description |
|---|---|
| \Zend_Dojo_Form_Element_DateTextBox |

setDatePattern(string $pattern) : \Zend_Dojo_Form_Element_NumberTextBoxSet date format pattern
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $pattern | string |
| Type | Description |
|---|---|
| \Zend_Dojo_Form_Element_NumberTextBox |

setFormatLength(string $formatLength) : \Zend_Dojo_Form_Element_NumberTextBoxSet 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_DateTextBoxSet locale
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $locale | string |
| Type | Description |
|---|---|
| \Zend_Dojo_Form_Element_DateTextBox |

setSelector(string $selector) : \Zend_Dojo_Form_Element_NumberTextBoxSet numeric format Selector
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $selector | string |
| Type | Description |
|---|---|
| \Zend_Dojo_Form_Element_NumberTextBox |

setStrict( $flag) : \Zend_Dojo_Form_Element_DateTextBoxSet strict flag
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $flag |
| Type | Description |
|---|---|
| \Zend_Dojo_Form_Element_DateTextBox |