[eluser]CroNiX[/eluser]
I don't think you can load a controller manually using stock CI. If you need to use a controller in multiple places, it sounds like it, or at least some methods, should really be a "library" which both controllers can load and use.
If you need to use CI functions/methods in your library, you can load the CI object.
Code:
class Somelibrary {
protected $CI; //variable to hold CI's object
public function __construct()
{
$this->CI =& get_instance(); //assign it
}
//use CI in a method
public function foo()
{
$this->CI->load->view('some_view');
}
}
Then controller A can:
Code:
$this->load->library('somelibrary');
$this->somelibrary->foo();
And controller B can do the same.
Or if it's something you use a lot, you can autoload it.