yeah, Programming should DRY (Dont Repeat Yourself).
for your case, try this code :
class Model_Two extends CI_Model {
function __construct()
{
parent::__construct();
$this->load->model('Model_One');
}
function exampleTwo(){
return "testTwo";
}
// change this method to the name of the another module
function model_one(){
// just return the new model object
// so you can keep using all method in this object, without repeat the methods
return $this->Model_One;
}
}
and in your controller, you use the model_two model like this :
class Controller_One extends CI_Controller{
function index(){
$this->load->model('Model_Two');
$this->Model_Two->model_one()->exampleOne();
// and here you can use all method from model_one...
// $this->Model_Two->model_one()->exampleTwo();
}
}
I hope this help for you. :)