示例#1
0
 /**
  * Returns the list of currency symbols
  * @see getCurrencyList()
  * @return array( currencyId => currencySymbol )
  */
 public function getCurrencySymbols()
 {
     $currencies = Formatter::getCurrencyList();
     return array_map(function ($a) {
         return $a[0];
     }, $currencies);
 }
 public static function getCurrencyList()
 {
     return Formatter::getCurrencyList();
 }