API Documentation

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

Properties

Propertypublicstring  $helper= ''CurrencyTextBox''

Use CurrencyTextBox dijit view helper

Default value'CurrencyTextBox'Details
Type
string

Methods

methodpublicgetCurrency( ) : string|null

Retrieve currency

Returns
Type Description
string|null
methodpublicgetFractional( ) : bool

Get whether or not to present fractional values

Returns
Type Description
bool
methodpublicgetSymbol( ) : string|null

Retrieve symbol

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

Set currency

Parameters
Name Type Description
$currency string
Returns
Type Description
\Zend_Dojo_Form_Element_CurrencyTextBox
methodpublicsetFractional( bool $flag ) : \Zend_Dojo_Form_Element_CurrencyTextBox

Set whether currency is fractional

Parameters
Name Type Description
$flag bool
Returns
Type Description
\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
Name Type Description
$symbol string
Returns
Type Description
\Zend_Dojo_Form_Element_CurrencyTextBox
Documentation was generated by DocBlox 0.15.1.