Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //-------------------------------------
- //! Get Controller Name
- //-------------------------------------
- $this->router->fetch_class();
- //-------------------------------------
- //! Get Method Name
- //-------------------------------------
- $this->router->fetch_method();
- //-------------------------------------
- //! Get Module Name in HMVC
- //-------------------------------------
- $this->router->fetch_module();
Add Comment
Please, Sign In to add comment