summaryrefslogtreecommitdiff
path: root/app/Api/App.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-29 18:45:26 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-29 18:45:26 -0400
commit2d6b6533acc86747425facc9e96303bcccc6daae (patch)
tree7a17fe198ba916bcaea3fcd73860d2d7610ac1e4 /app/Api/App.php
parentf595fb2786d884dbaf7ec87d53cee920a0655f0e (diff)
Add new api procedures: getDefaultTaskColor(), getDefaultTaskColors() and getColorList()
Diffstat (limited to 'app/Api/App.php')
-rw-r--r--app/Api/App.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Api/App.php b/app/Api/App.php
index 24da4dd9..9b3ceb94 100644
--- a/app/Api/App.php
+++ b/app/Api/App.php
@@ -19,4 +19,19 @@ class App extends \Core\Base
{
return APP_VERSION;
}
+
+ public function getDefaultTaskColor()
+ {
+ return $this->color->getDefaultColor();
+ }
+
+ public function getDefaultTaskColors()
+ {
+ return $this->color->getDefaultColors();
+ }
+
+ public function getColorList()
+ {
+ return $this->color->getList();
+ }
}