Beispiel #1
0
 private static function ensureCurrencies()
 {
     if (self::$currencies === null) {
         require_once dirname(__FILE__) . "/Currencies.php";
         self::$currencies = $currencies;
         self::$numCurrencies = array();
         foreach ($currencies as $key => $value) {
             self::$numCurrencies[$value] = $key;
         }
     }
 }