コード例 #1
0
ファイル: API.php プロジェクト: CaptainSharf/SSAD_Project
 /**
  * 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);
 }
コード例 #2
0
 public static function getCurrencyList()
 {
     return Formatter::getCurrencyList();
 }