How to get Controller, Action name in CodeIgniter ?

How to get Controller, Action name in CodeIgniter ?

  $this->router->fetch_class(); // class = controller
  $this->router->fetch_method(); // action = method

Share This Blog

Comment

Do you want to get our quality service for your business?