API Documentation

Zend/Dojo/Form/Element/DateTextBox.php

Show: inherited
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-2012 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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Used_by
\Zend_Dojo_Form_Element_TimeTextBox  
Uses
\Zend_Dojo_Form_Element_ValidationTextBox  
Version
$Id: DateTextBox.php 24594 2012-01-05 21:27:01Z matthew $  

Properties

Propertyprotectedarray  $_allowedFormatTypes= 'array( 'long''

Allowed formatLength types

Default valuearray( 'long'Details
Type
array
Propertyprotectedarray  $_allowedSelectorTypes= 'array( 'time''

Allowed selector types

Default valuearray( 'time'Details
Type
array
Propertypublicstring  $helper= ''DateTextBox''

Use DateTextBox dijit view helper

Default value'DateTextBox'Details
Type
string

Methods

methodpublicgetAmPm( ) : bool

Retrieve am,pm flag

Returns
Type Description
bool
methodpublicgetDatePattern( ) : string|null

Retrieve date format pattern

Returns
Type Description
string|null
methodpublicgetFormatLength( ) : string|null

Retrieve formatLength

Returns
Type Description
string|null
methodpublicgetLocale( ) : string|null

Retrieve locale

Returns
Type Description
string|null
methodpublicgetSelector( ) : string|null

Retrieve selector

Returns
Type Description
string|null
methodpublicgetStrict( ) : bool

Retrieve strict flag

Returns
Type Description
bool
methodpublicsetAmPm(  $flag ) : \Zend_Dojo_Form_Element_DateTextBox

Set am,pm flag

Parameters
Name Type Description
$flag
Returns
Type Description
\Zend_Dojo_Form_Element_DateTextBox
methodpublicsetDatePattern( string $pattern ) : \Zend_Dojo_Form_Element_NumberTextBox

Set date format pattern

Parameters
Name Type Description
$pattern string
Returns
Type Description
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetFormatLength( string $formatLength ) : \Zend_Dojo_Form_Element_NumberTextBox

Set numeric format formatLength

Parameters
Name Type Description
$formatLength string
Returns
Type Description
\Zend_Dojo_Form_Element_NumberTextBox
Details
See
\$_allowedFormatTypes  
methodpublicsetLocale( string $locale ) : \Zend_Dojo_Form_Element_DateTextBox

Set locale

Parameters
Name Type Description
$locale string
Returns
Type Description
\Zend_Dojo_Form_Element_DateTextBox
methodpublicsetSelector( string $selector ) : \Zend_Dojo_Form_Element_NumberTextBox

Set numeric format Selector

Parameters
Name Type Description
$selector string
Returns
Type Description
\Zend_Dojo_Form_Element_NumberTextBox
Details
See
\$_allowedSelectorTypes  
methodpublicsetStrict(  $flag ) : \Zend_Dojo_Form_Element_DateTextBox

Set strict flag

Parameters
Name Type Description
$flag
Returns
Type Description
\Zend_Dojo_Form_Element_DateTextBox
Documentation was generated by DocBlox 0.15.1.