Dojo/Form/Element/DateTextBox.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprotectedarray $_allowedFormatTypes = array('long', 'short', 'medium', 'full')
Allowed formatLength types
Default valuearray('long', 'short', 'medium', 'full')Details
Type
array
>VPropertyprotectedarray $_allowedSelectorTypes = array('time', 'date')
Allowed selector types
Default valuearray('time', 'date')Details
Type
array
>VPropertypublicstring $helper = 'DateTextBox'
Use DateTextBox dijit view helper
Default value'DateTextBox'Details
Type
string

Methods

methodpublicgetAmPm() : bool

Retrieve am,pm flag

Returns
TypeDescription
bool
methodpublicgetDatePattern() : string | null

Retrieve date format pattern

Returns
TypeDescription
string | null
methodpublicgetFormatLength() : string | null

Retrieve formatLength

Returns
TypeDescription
string | null
methodpublicgetLocale() : string | null

Retrieve locale

Returns
TypeDescription
string | null
methodpublicgetSelector() : string | null

Retrieve selector

Returns
TypeDescription
string | null
methodpublicgetStrict() : bool

Retrieve strict flag

Returns
TypeDescription
bool
methodpublicsetAmPm( $flag) : \Zend_Dojo_Form_Element_DateTextBox

Set am,pm flag

Parameters
NameTypeDescription
$flag
Returns
TypeDescription
\Zend_Dojo_Form_Element_DateTextBox
methodpublicsetDatePattern(string $pattern) : \Zend_Dojo_Form_Element_NumberTextBox

Set date format pattern

Parameters
NameTypeDescription
$patternstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetFormatLength(string $formatLength) : \Zend_Dojo_Form_Element_NumberTextBox

Set numeric format formatLength

Parameters
NameTypeDescription
$formatLengthstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_NumberTextBox
Details
See
 
methodpublicsetLocale(string $locale) : \Zend_Dojo_Form_Element_DateTextBox

Set locale

Parameters
NameTypeDescription
$localestring
Returns
TypeDescription
\Zend_Dojo_Form_Element_DateTextBox
methodpublicsetSelector(string $selector) : \Zend_Dojo_Form_Element_NumberTextBox

Set numeric format Selector

Parameters
NameTypeDescription
$selectorstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_NumberTextBox
Details
See
 
methodpublicsetStrict( $flag) : \Zend_Dojo_Form_Element_DateTextBox

Set strict flag

Parameters
NameTypeDescription
$flag
Returns
TypeDescription
\Zend_Dojo_Form_Element_DateTextBox
Documentation was generated by phpDocumentor 2.2.0 .