From 732899564517c6efd9ef965f3f843309a222ce50 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 7 Mar 2015 16:50:36 -0500 Subject: Add user cost --- app/Model/Config.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'app/Model/Config.php') diff --git a/app/Model/Config.php b/app/Model/Config.php index 3ee6bfdf..8afc59fd 100644 --- a/app/Model/Config.php +++ b/app/Model/Config.php @@ -21,6 +21,26 @@ class Config extends Base */ const TABLE = 'settings'; + /** + * Get available currencies + * + * @access public + * @return array + */ + public function getCurrencies() + { + return array( + 'USD' => t('USD - US Dollar'), + 'EUR' => t('EUR - Euro'), + 'GBP' => t('GBP - British Pound'), + 'CAD' => t('CAD - Canadian Dollar'), + 'AUD' => t('AUD - Australian Dollar'), + 'NZD' => t('NZD - New Zealand Dollar'), + 'INR' => t('INR - Indian Rupee'), + 'JPY' => t('JPY - Japanese Yen'), + ); + } + /** * Get available timezones * -- cgit v1.2.3