Latest news
Home » CodeIgniter » codeigniter controller name and action name function

codeigniter controller name and action name function

$this->router->fetch_class()  for get CodeIgniter  controller  name

$this->router->fetch_method()  for get  CodeIgniter  controller  action name

 

Leave a Reply

x

Check Also

How to print Codeigniter upload error

if you want to display errors on upload functionality in codeigniter. Use the following function ...