Dojo/Form/Element/NumberTextBox.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_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

>VPropertyprotectedarray $_allowedTypes = array('decimal', 'scientific', 'percent', 'currency')
Allowed numeric type formats
Default valuearray('decimal', 'scientific', 'percent', 'currency')Details
Type
array
>VPropertypublicstring $helper = 'NumberTextBox'
Use NumberTextBox dijit view helper
Default value'NumberTextBox'Details
Type
string

Methods

methodpublicgetLocale() : string | null

Retrieve locale

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

Retrieve numeric format pattern

Returns
TypeDescription
string | null
methodpublicgetPlaces() : int | null

Retrieve decimal places

Returns
TypeDescription
int | null
methodpublicgetStrict() : bool

Retrieve strict flag

Returns
TypeDescription
bool
methodpublicgetType() : string | null

Retrieve type

Returns
TypeDescription
string | null
methodpublicsetLocale(string $locale) : \Zend_Dojo_Form_Element_NumberTextBox

Set locale

Parameters
NameTypeDescription
$localestring
Returns
TypeDescription
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetPattern(string $pattern) : \Zend_Dojo_Form_Element_NumberTextBox

Set numeric format pattern

Parameters
NameTypeDescription
$patternstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetPlaces(int $places) : \Zend_Dojo_Form_Element_NumberTextBox

Set decimal places

Parameters
NameTypeDescription
$placesint
Returns
TypeDescription
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetStrict( $flag) : \Zend_Dojo_Form_Element_NumberTextBox

Set strict flag

Parameters
NameTypeDescription
$flag
Returns
TypeDescription
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetType(string $type) : \Zend_Dojo_Form_Element_NumberTextBox

Set numeric format type

Parameters
NameTypeDescription
$typestring
Returns
TypeDescription
\Zend_Dojo_Form_Element_NumberTextBox
Details
See
 
Documentation was generated by phpDocumentor 2.2.0 .