1.

How we can get current method or controller in Codeigniter?

Answer»

You can USE this $this->router->fetch_class(); to GET current controller name.
You can use this $this->router->fetch_method(); to get current METHOD.



Discussion

No Comment Found