public static function getDefaultCurrency() { $defaultCurrency = CurrencyModel::find_by_default("y"); return $defaultCurrency; }