summaryrefslogtreecommitdiff
path: root/app/Model/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/Config.php')
-rw-r--r--app/Model/Config.php20
1 files changed, 20 insertions, 0 deletions
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
@@ -22,6 +22,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
*
* @access public