Dojo/Form/Element/CurrencyTextBox.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_CurrencyTextBox

Package: Zend_Dojo\Form_Element
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

>VPropertypublicstring $helper = 'CurrencyTextBox'
Use CurrencyTextBox dijit view helper
Default value'CurrencyTextBox'Details
Type
string

Methods

methodpublicgetCurrency() : string | null

Retrieve currency

Returns
TypeDescription
string | null
methodpublicgetFractional() : bool

Get whether or not to present fractional values

Returns
TypeDescription
bool
methodpublicgetSymbol() : string | null

Retrieve symbol

Returns
TypeDescription
string | null
methodpublicsetCurrency(string $currency) : \Zend_Dojo_Form_Element_CurrencyTextBox

Set currency

Parameters
NameTypeDescription
$currencystring
Returns
TypeDescription
\Zend_Dojo_Form_Element_CurrencyTextBox
methodpublicsetFractional(bool $flag) : \Zend_Dojo_Form_Element_CurrencyTextBox

Set whether currency is fractional

Parameters
NameTypeDescription
$flagbool
Returns
TypeDescription
\Zend_Dojo_Form_Element_CurrencyTextBox
methodpublicsetSymbol(string $symbol) : \Zend_Dojo_Form_Element_CurrencyTextBox

Set currency symbol

Casts to string, uppercases, and trims to three characters.
Parameters
NameTypeDescription
$symbolstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_CurrencyTextBox
Documentation was generated by phpDocumentor 2.2.0 .