How to load a model from another module with CodeIgniter
Found it... it was a simple fix.
Just had to use: $this->load->model('person/person_model');
from what I experience in another version of codeigniter, the proper way to load model is $this->load->model($model = 'person', $module = 'person');
$rand=rand(1,9999999);$currentModel="currentModel".$rand;$this->load->model($call_model,$currentModel);$call_method=$method; $currentMod=$currentModel;$CI =& get_instance();$re_data= $CI->$currentMod->$call_method($paramArr);