コード例 #1
0
ファイル: crypto.php プロジェクト: phpsource/openclerk
function get_all_commodity_currencies()
{
    global $_cached_get_all_commodity_currencies;
    if ($_cached_get_all_commodity_currencies === null) {
        $currencies = Currencies::getCommodityCurrencies();
        usort($currencies, 'sort_currency_list');
        $_cached_get_all_commodity_currencies = $currencies;
    }
    return $_cached_get_all_commodity_currencies;
}