Dojo/Form/Element/CurrencyTextBox.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 [email protected] 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_CurrencyTextBox
Package: Zend_Dojo\Form_Element
Returns
CurrencyTextBox dijit
- Parent(s)
- \Zend_Dojo_Form_Element_NumberTextBox < \Zend_Dojo_Form_Element_ValidationTextBox < \Zend_Dojo_Form_Element_TextBox < \Zend_Dojo_Form_Element_Dijit < \Zend_Form_Element
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- Version
- $Id$
Properties
Methods
setCurrency(string $currency) : \Zend_Dojo_Form_Element_CurrencyTextBox
Set currency
Parameters
Returns
Name | Type | Description |
---|---|---|
$currency | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_CurrencyTextBox |
setFractional(bool $flag) : \Zend_Dojo_Form_Element_CurrencyTextBox
Set whether currency is fractional
Parameters
Returns
Name | Type | Description |
---|---|---|
$flag | bool |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_CurrencyTextBox |
setSymbol(string $symbol) : \Zend_Dojo_Form_Element_CurrencyTextBox
Set currency symbol
Casts to string, uppercases, and trims to three characters.
ParametersName | Type | Description |
---|---|---|
$symbol | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_CurrencyTextBox |