summaryrefslogtreecommitdiff
path: root/app/Helper/App.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-19 20:59:05 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-19 20:59:05 -0400
commit57bd53847cfd01d414728c871512ef2af123ffd5 (patch)
treebfff76fa16997e7de8fd43dc8fb95d49d96363c1 /app/Helper/App.php
parent7264821cb838fd0333c416b4921092035636616e (diff)
Improve sidebar menus
Diffstat (limited to 'app/Helper/App.php')
-rw-r--r--app/Helper/App.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/Helper/App.php b/app/Helper/App.php
index 8f591143..e5ebefcb 100644
--- a/app/Helper/App.php
+++ b/app/Helper/App.php
@@ -11,6 +11,28 @@ namespace Helper;
class App extends \Core\Base
{
/**
+ * Get router controller
+ *
+ * @access public
+ * @return string
+ */
+ public function getRouterController()
+ {
+ return $this->router->getController();
+ }
+
+ /**
+ * Get router action
+ *
+ * @access public
+ * @return string
+ */
+ public function getRouterAction()
+ {
+ return $this->router->getAction();
+ }
+
+ /**
* Get javascript language code
*
* @access public