Welcome Guest, Not a member yet? Register   Sign In
Load model with a constructer - possible?
#1

[eluser]Unknown[/eluser]
Hi I'm new to CI and i've done a search for this question but can't seem to get a satisfactory answer.

When using the code e.g. "$this->load->model('Cart')" is it possible to pass data to the constructor? Or do I have to initialise the required data separately?

thanks, mo


Messages In This Thread
Load model with a constructer - possible? - by El Forum - 08-26-2008, 02:42 PM
Load model with a constructer - possible? - by El Forum - 08-27-2008, 01:58 PM
Load model with a constructer - possible? - by El Forum - 08-27-2008, 02:27 PM
Load model with a constructer - possible? - by El Forum - 08-27-2008, 03:08 PM
Load model with a constructer - possible? - by El Forum - 08-27-2008, 11:05 PM
Load model with a constructer - possible? - by El Forum - 08-28-2008, 08:08 AM
Load model with a constructer - possible? - by El Forum - 08-28-2008, 09:58 AM
Load model with a constructer - possible? - by El Forum - 08-28-2008, 12:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB