Let's JAM!

Calling another Controller's methods in CodeIgniter

Everyone says not to do it, but there are cases where I want to do it.


There is a way to do this.


Say you have a controller named products with a method named "_controller_method". Here's how to call it:

$products = new products();