diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-08-19 20:59:05 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-08-19 20:59:05 -0400 |
commit | 57bd53847cfd01d414728c871512ef2af123ffd5 (patch) | |
tree | bfff76fa16997e7de8fd43dc8fb95d49d96363c1 /app/Helper/App.php | |
parent | 7264821cb838fd0333c416b4921092035636616e (diff) |
Improve sidebar menus
Diffstat (limited to 'app/Helper/App.php')
-rw-r--r-- | app/Helper/App.php | 22 |
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 |