[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TNumberFromat component.
Author: | Wei Zhuo |
Copyright: | Copyright © 2005 PradoSoft |
License: | http://www.pradosoft.com/license/ |
Version: | $Id: TNumberFormat.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 199 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TNumberFormat:: (10 méthodes):
getPattern()
setPattern()
getValue()
setValue()
getType()
setType()
getCurrency()
setCurrency()
getFormattedValue()
render()
Classe: TNumberFormat - X-Ref
To format numbers in locale sensitive manner usegetPattern() X-Ref |
Get the number formatting pattern. return: string format pattern. |
setPattern($pattern) X-Ref |
Set the number format pattern. param: string format pattern. |
getValue() X-Ref |
Get the numberic value for this control. return: string number |
setValue($value) X-Ref |
Set the numberic value for this control. param: string the number value |
getType() X-Ref |
Get the formatting type for this control. return: string formatting type. |
setType($type) X-Ref |
Set the formatting type for this control. param: string formatting type, either "decimal", "currency","percentage" |
getCurrency() X-Ref |
return: string 3 letter currency code. Defaults to 'USD'. |
setCurrency($currency) X-Ref |
Set the 3-letter ISO 4217 code. For example, the code "USD" represents the US Dollar and "EUR" represents the Euro currency. param: string currency code. |
getFormattedValue() X-Ref |
Formats the localized number, be it currency or decimal, or percentage. If the culture is not specified, the default application culture will be used. return: string formatted number |
render($writer) X-Ref |
Pas de description |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |