diff options
Diffstat (limited to 'app/Helper')
-rw-r--r-- | app/Helper/User.php | 11 |
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 |