Welcome Guest, Not a member yet? Register   Sign In
models from another model and transactions
#2

[eluser]starenka[/eluser]
you can use other models via ci instance:

Code:
$ci =& get_instance();
$ci->load->model('somewhere/myothermodel_model','it_works');
$ci->it_works->do_stuff();


Messages In This Thread
models from another model and transactions - by El Forum - 03-06-2010, 02:34 PM
models from another model and transactions - by El Forum - 03-25-2010, 09:42 AM
models from another model and transactions - by El Forum - 03-25-2010, 12:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB