API Documentation

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

Properties

Propertyprotectedarray  $_allowedTypes= 'array( 'decimal''

Allowed numeric type formats

Default valuearray( 'decimal'Details
Type
array
Propertypublicstring  $helper= ''NumberTextBox''

Use NumberTextBox dijit view helper

Default value'NumberTextBox'Details
Type
string

Methods

methodpublicgetLocale( ) : string|null

Retrieve locale

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

Retrieve numeric format pattern

Returns
Type Description
string|null
methodpublicgetPlaces( ) : int|null

Retrieve decimal places

Returns
Type Description
int|null
methodpublicgetStrict( ) : bool

Retrieve strict flag

Returns
Type Description
bool
methodpublicgetType( ) : string|null

Retrieve type

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

Set locale

Parameters
Name Type Description
$locale string
Returns
Type Description
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetPattern( string $pattern ) : \Zend_Dojo_Form_Element_NumberTextBox

Set numeric format pattern

Parameters
Name Type Description
$pattern string
Returns
Type Description
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetPlaces( int $places ) : \Zend_Dojo_Form_Element_NumberTextBox

Set decimal places

Parameters
Name Type Description
$places int
Returns
Type Description
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetStrict(  $flag ) : \Zend_Dojo_Form_Element_NumberTextBox

Set strict flag

Parameters
Name Type Description
$flag
Returns
Type Description
\Zend_Dojo_Form_Element_NumberTextBox
methodpublicsetType( string $type ) : \Zend_Dojo_Form_Element_NumberTextBox

Set numeric format type

Parameters
Name Type Description
$type string
Returns
Type Description
\Zend_Dojo_Form_Element_NumberTextBox
Details
See
\$_allowedTypes  
Documentation was generated by DocBlox 0.15.1.