summaryrefslogtreecommitdiff
path: root/app/Model/Config.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-07 16:50:36 -0500
committerFrederic Guillot <fred@kanboard.net>2015-03-07 16:50:36 -0500
commit732899564517c6efd9ef965f3f843309a222ce50 (patch)
treebc49df0d3685c6f6447b4e74146ef3f8bc8aa730 /app/Model/Config.php
parent313318a40da51575212c8d299fa1b2ed4c83ca1b (diff)
Add user cost
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