$ci =& get_instance(); // instance of the CI super variable $ci->router->fetch_class(); // for controller name $ci->router->fetch_method(); // for method name
Subscribe
Login
0 Comments
Tutorials focused on Web Development, ReactJS, JavaScript, PHP, Database Design, Devops
$ci =& get_instance(); // instance of the CI super variable $ci->router->fetch_class(); // for controller name $ci->router->fetch_method(); // for method name