Welcome Guest, Not a member yet? Register   Sign In
Loading a model inside a model
#2

[eluser]Mike Ryan[/eluser]
Hi Rob,

You need to call the engine model via the CI instance:

Code:
$CI =& get_instance();
$CI->load->library('Engine_model');
$this->engine = $CI->Engine_model->load_from_id( $this->engineIdFk );


Messages In This Thread
Loading a model inside a model - by El Forum - 10-19-2008, 06:48 AM
Loading a model inside a model - by El Forum - 10-19-2008, 07:53 AM
Loading a model inside a model - by El Forum - 10-19-2008, 08:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB