diff options
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 |