MIOLO26
|
Membros públicos | |
__construct ($ISOCode=NULL) | |
format ( $amount, $ISOCode=NULL) | |
formatWithSymbol ( $amount, $ISOCode=NULL) | |
validate ( $amount, $ISOCode=NULL) | |
toDecimal ( $amount, $ISOCode=NULL) | |
Membros públicos herdados de CurrencyFormatter | |
CurrencyFormatter () | |
__construct () | |
toDecimalForStyle ( $amount, $style) | |
supportsISOCode ( $ISOCode) | |
getFormattingStyles () | |
getISOCodes () | |
getStyleForISOCode ( $ISOCode) | |
getSymbol ( $ISOCode) | |
symbolIsAfterAmount ( $ISOCode) | |
getPrefixSuffixArray ( $ISOCode) | |
removePrefixAndSuffix ( $amount, $ISOCode) | |
getSeparators ( $style) | |
validateForStyle ( $amount, $style) | |
formatWithStyle ( $amount, $style) | |
Campos de Dados | |
$defaultISOCode = 'REAL' | |
Campos de Dados herdados de CurrencyFormatter | |
$formattingStyles | |
$ISOCodeStyles | |
$nonDollarSymbols | |
$currenciesWithSymbolsAfterAmount | |
__construct | ( | $ISOCode = NULL | ) |
format | ( | $amount, | |
$ISOCode = NULL ) |
Returns the specified amount formatted according to the formatting style used for the specified ISO 4217 currency code.
@access public
double | $amount | The amount to be formatted. |
string | $ISOCode | ISO 4217 currency code. |
Reimplementado de CurrencyFormatter.
formatWithSymbol | ( | $amount, | |
$ISOCode = NULL ) |
Returns the specified amount formatted according to the formatting style used for the specified ISO 4217 currency code with the currency symbol included.
Reimplementado de CurrencyFormatter.
toDecimal | ( | $amount, | |
$ISOCode = NULL ) |
Returns the decimal amount represented by the amount according to the formatting style used for the specified ISO 4217 currency code.
@access public
double | $amount | The amount to be validated. |
string | $ISOCode | ISO 4217 currency code. |
Reimplementado de CurrencyFormatter.
validate | ( | $amount, | |
$ISOCode = NULL ) |
Validates whether the specified amount is properly formatted according to the formatting style used for the specified ISO 4217 currency code. Returns true if the specified amount is properly formatted.
@access public
double | $amount | The amount to be validated. |
string | $ISOCode | ISO 4217 currency code. |
Reimplementado de CurrencyFormatter.
$defaultISOCode = 'REAL' |