Dojo/Form/Element/NumberTextBox.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_NumberTextBox
Package: Zend_Dojo\Form_Element
NumberTextBox 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_CurrencyTextBox
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- Version
- $Id$
Properties
array $_allowedTypes = array('decimal', 'scientific', 'percent', 'currency')
Allowed numeric type formats
Default value
array('decimal', 'scientific', 'percent', 'currency')
Details- Type
- array
Methods
setLocale(string $locale) : \Zend_Dojo_Form_Element_NumberTextBox
Set locale
Parameters
Returns
Name | Type | Description |
---|---|---|
$locale | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_NumberTextBox |
setPattern(string $pattern) : \Zend_Dojo_Form_Element_NumberTextBox
Set numeric format pattern
Parameters
Returns
Name | Type | Description |
---|---|---|
$pattern | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_NumberTextBox |
setPlaces(int $places) : \Zend_Dojo_Form_Element_NumberTextBox
Set decimal places
Parameters
Returns
Name | Type | Description |
---|---|---|
$places | int |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_NumberTextBox |
setStrict( $flag) : \Zend_Dojo_Form_Element_NumberTextBox
Set strict flag
Parameters
Returns
Name | Type | Description |
---|---|---|
$flag |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_NumberTextBox |
setType(string $type) : \Zend_Dojo_Form_Element_NumberTextBox
Set numeric format type
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$type | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_NumberTextBox |