1 | <?php |
||
7 | class CurrencyInfo |
||
8 | { |
||
9 | const SYMBOL = 'symbol'; |
||
10 | const SYMBOL_NATIVE = 'symbol_native'; |
||
11 | const FRACTION_DIGITS = 'decimal_digits'; |
||
12 | const ROUNDING = 'rounding'; |
||
13 | const CODE = 'code'; |
||
14 | |||
15 | /** |
||
16 | * @return array[] |
||
17 | */ |
||
18 | 1 | public static function getMap() |
|
22 | |||
23 | /** |
||
24 | * @param string $currencyCode |
||
25 | * @return array |
||
26 | */ |
||
27 | 2 | public static function getMapForCurrency($currencyCode) |
|
31 | |||
32 | /** |
||
33 | * @return string[] |
||
34 | */ |
||
35 | 1 | public static function getSymbolMap() |
|
39 | |||
40 | /** |
||
41 | * @param string $currencyCode |
||
42 | * @return string |
||
43 | */ |
||
44 | 1 | public static function getSymbolForCurrency($currencyCode) |
|
48 | |||
49 | /** |
||
50 | * @return string[] |
||
51 | */ |
||
52 | 1 | public static function getNativeSymbolMap() |
|
56 | |||
57 | /** |
||
58 | * @param string $currencyCode |
||
59 | * @return string |
||
60 | */ |
||
61 | 1 | public static function getNativeSymbolForCurrency($currencyCode) |
|
65 | |||
66 | /** |
||
67 | * @return int[] |
||
68 | */ |
||
69 | 1 | public static function getFractionDigitsMap() |
|
73 | |||
74 | /** |
||
75 | * @param string $currencyCode |
||
76 | * @return int |
||
77 | */ |
||
78 | 1 | public static function getFractionDigitsForCurrency($currencyCode) |
|
82 | |||
83 | /** |
||
84 | * @return float[] |
||
85 | */ |
||
86 | 1 | public static function getRoundingMap() |
|
90 | |||
91 | /** |
||
92 | * @param string $currencyCode |
||
93 | * @return float |
||
94 | */ |
||
95 | 1 | public static function getRoundingForCurrency($currencyCode) |
|
99 | } |
||
100 |