[eluser]wiredesignz[/eluser]
I dont recommend trying to call methods in a module from a model, it breaks the MVC design pattern.
Plus this question is basic OOP theory you need to know.
However, You can do this in the parent module:
Code:
class What_ever extends Controller
{
function What_ever()
{
parent::Controller();
$this->load->model('some_model');
//$this->some_model->_parent =& $this;
$this->some_model->_parent = get_class($this); // just supply the module name
}
}
And parent isn't really a good description, the module is more like the owner