- /**
- * 2016-06-30
- * @param string $iso3
- * @return string
- */
- function df_currency_ctn($iso3) {
- /** @var \ResourceBundle $cache */
- static $cache;
- if (!isset($cache)) {
- $cache = (new CurrencyBundle())->get(df_locale())['Currencies'];
- }
- return $cache[$iso3][1] ?: $iso3;
- }