I have two controllers a and b.
a
b
I would like to call a method of controller a from a method of controller b.
You can use the redirect() function. Like this
class ControllerA extends CI_Controller{ public function MethodA(){ redirect("ControllerB/MethodB"); } }