MIOLO20
|
Membros públicos | |
__construct ($ISOCode=NULL) | |
format ( $amount, $ISOCode=NULL) | |
formatWithSymbol ( $amount, $ISOCode=NULL) | |
validate ( $amount, $ISOCode=NULL) | |
toDecimal ( $amount, $ISOCode=NULL) | |
![]() | |
CurrencyFormatter () | |
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' | |
![]() | |
$formattingStyles | |
$ISOCodeStyles | |
$nonDollarSymbols | |
$currenciesWithSymbolsAfterAmount | |
Definido na linha 515 do ficheiro mcurrencyformatter.class.
__construct | ( | $ISOCode = NULL | ) |
Definido na linha 519 do ficheiro mcurrencyformatter.class.
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.
Definido na linha 528 do ficheiro mcurrencyformatter.class.
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.
Definido na linha 537 do ficheiro mcurrencyformatter.class.
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.
Definido na linha 555 do ficheiro mcurrencyformatter.class.
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.
Definido na linha 546 do ficheiro mcurrencyformatter.class.
$defaultISOCode = 'REAL' |
Definido na linha 517 do ficheiro mcurrencyformatter.class.