public static function getISO4217CurrencyFromCode($code) {
    foreach (Connect2PayCurrencyHelper::$currencies as $currency => $data) {
      if ($data["code"] == $code) {
        return $currency;
      }
    }

    return null;
  }
public static function getISO4217CurrencyFromCode($code) {
    foreach (Connect2PayCurrencyHelper::$currencies as $currency => $data) {
      if ($data["code"] == $code) {
        return $currency;
      }
    }

    return null;
  }
public static function getISO4217CurrencyFromCode ( $ code ) { foreach ( Connect2PayCurrencyHelper :: $ currencies as $ currency => $ data ) { if ( $ data [ "code" ] == $ code ) { return $ currency ; } } return null ; }
Get a currency alphabetic code according to its numeric code in ISO4217

@param string $code
The numeric code to look for
@return string The alphabetic code (like EUR or USD) or null if not found.
Get a currency alphabetic code according to its numeric code in ISO4217