Get current class name codeigniter

I want to get current class name and method name in codeIgniter.
Ankur Rajput
Asked 12-12-2024
232

Answer (1)
get current class name codeigniter //get current class using following code $this->router->fetch_class(); //get current class method using $this->router->fetch_method();
Ankur Rajput
Asked 20-07-2018
45 Likes
Comments
Write comment

Submit your answer