summaryrefslogtreecommitdiff
path: root/app/Helper/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper/User.php')
-rw-r--r--app/Helper/User.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Helper/User.php b/app/Helper/User.php
index 00018857..1cad6042 100644
--- a/app/Helper/User.php
+++ b/app/Helper/User.php
@@ -11,6 +11,17 @@ namespace Helper;
class User extends \Core\Base
{
/**
+ * Get user id
+ *
+ * @access public
+ * @return integer
+ */
+ public function getId()
+ {
+ return $this->userSession->getId();
+ }
+
+ /**
* Get user profile
*
* @access public