summaryrefslogtreecommitdiff
path: root/app/Action/Base.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-22 21:17:50 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-22 21:17:50 -0400
commit9523ff44c04bf915e8b819ba8502ea5d20127d17 (patch)
treedc8da8d21c7b87236d929c1f6986351c1fad440b /app/Action/Base.php
parentb4fe1cd526e0227b49a399e02052beb1d35abd7f (diff)
Allow to extend automatic actions from plugins
Diffstat (limited to 'app/Action/Base.php')
-rw-r--r--app/Action/Base.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Action/Base.php b/app/Action/Base.php
index d0c81d89..c8ff02a4 100644
--- a/app/Action/Base.php
+++ b/app/Action/Base.php
@@ -127,6 +127,17 @@ abstract class Base extends \Core\Base
}
/**
+ * Get project id
+ *
+ * @access public
+ * @return integer
+ */
+ public function getProjectId()
+ {
+ return $this->project_id;
+ }
+
+ /**
* Set an user defined parameter
*
* @access public