Welcome Guest, Not a member yet? Register   Sign In
Passing values to model constructor
#1

[eluser]MABUS[/eluser]
Hi guys,

I'm wondering how to be able to pass a variable or values to a model's constructor. Is that possible in ci? from the manual, when you call on to a model, the second attribute paramter that you pass to the function is the name that you pass when you want to use a different name for that particular model.

So is passing an argument to a model's constructor possible?


Messages In This Thread
Passing values to model constructor - by El Forum - 04-14-2008, 02:10 AM
Passing values to model constructor - by El Forum - 04-14-2008, 02:22 AM
Passing values to model constructor - by El Forum - 04-14-2008, 02:26 AM
Passing values to model constructor - by El Forum - 04-14-2008, 02:38 AM
Passing values to model constructor - by El Forum - 04-14-2008, 03:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB