API Documentation

Dojo/Form/Element/CurrencyTextBox.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Dojo
subpackage
Form_Element
Classes
Zend_Dojo_Form_Element_CurrencyTextBox

Description

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.

Zend_Dojo_Form_Element_CurrencyTextBox

Extends from
Zend_Dojo_Form_Element_NumberTextBox
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Dojo
subpackage
Form_Element
uses
Zend_Dojo_Form_Element_NumberTextBox
version
$Id: CurrencyTextBox.php 20096 2010-01-06 02:05:09Z bkarwin $
Properties
$helper
Methods
setCurrency
getCurrency
setSymbol
getSymbol
setFractional
getFractional

Description

CurrencyTextBox dijit

Properties

$helper

string $helper = 'CurrencyTextBox'

Use CurrencyTextBox dijit view helper

Details

$helper
string
visibility
public
default
CurrencyTextBox
final
false
static
false

Methods

getCurrency

getCurrency( ) : string|null

Retrieve currency

Output
string|null
Details
visibility
public
final
false
static
false

getFractional

getFractional( ) : bool

Get whether or not to present fractional values

Output
bool
Details
visibility
public
final
false
static
false

getSymbol

getSymbol( ) : string|null

Retrieve symbol

Output
string|null
Details
visibility
public
final
false
static
false

setCurrency

setCurrency( string $currency ) : Zend_Dojo_Form_Element_CurrencyTextBox

Set currency

Arguments
$currency
string
Details
visibility
public
final
false
static
false

setFractional

setFractional( bool $flag ) : Zend_Dojo_Form_Element_CurrencyTextBox

Set whether currency is fractional

Arguments
$flag
bool
Details
visibility
public
final
false
static
false

setSymbol

setSymbol( string $symbol ) : Zend_Dojo_Form_Element_CurrencyTextBox

Set currency symbol

Casts to string, uppercases, and trims to three characters.

Arguments
$symbol
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.