From 9523ff44c04bf915e8b819ba8502ea5d20127d17 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 22 Sep 2015 21:17:50 -0400 Subject: Allow to extend automatic actions from plugins --- app/Action/Base.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/Action') 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 @@ -126,6 +126,17 @@ abstract class Base extends \Core\Base return get_called_class(); } + /** + * Get project id + * + * @access public + * @return integer + */ + public function getProjectId() + { + return $this->project_id; + } + /** * Set an user defined parameter * -- cgit v1.2.3