summaryrefslogtreecommitdiff
path: root/app/Model/Color.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/Color.php')
-rw-r--r--app/Model/Color.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/Model/Color.php b/app/Model/Color.php
new file mode 100644
index 00000000..f414e837
--- /dev/null
+++ b/app/Model/Color.php
@@ -0,0 +1,31 @@
+<?php
+
+namespace Model;
+
+/**
+ * Color model (TODO: model for the future color picker)
+ *
+ * @package model
+ * @author Frederic Guillot
+ */
+class Color extends Base
+{
+ /**
+ * Get available colors
+ *
+ * @access public
+ * @return array
+ */
+ public function getList()
+ {
+ return array(
+ 'yellow' => t('Yellow'),
+ 'blue' => t('Blue'),
+ 'green' => t('Green'),
+ 'purple' => t('Purple'),
+ 'red' => t('Red'),
+ 'orange' => t('Orange'),
+ 'grey' => t('Grey'),
+ );
+ }
+}