Welcome Guest, Not a member yet? Register   Sign In
How i can use model in other model?
#4

[eluser]Phil Sturgeon[/eluser]
Sometimes PHP4 has trouble with the instance when loaded that way. Its better to assign it each time you need it, as creating a pointer takes barely any time at all, so there is no real benefit to loading it upon contruction.

If you are doing it that way, dont forge to set the property. :p

Code:
var $CI;


Messages In This Thread
How i can use model in other model? - by El Forum - 12-30-2007, 06:09 AM
How i can use model in other model? - by El Forum - 12-30-2007, 07:32 AM
How i can use model in other model? - by El Forum - 12-30-2007, 07:39 AM
How i can use model in other model? - by El Forum - 12-30-2007, 07:46 AM
How i can use model in other model? - by El Forum - 12-30-2007, 07:55 AM
How i can use model in other model? - by El Forum - 01-05-2008, 01:02 PM
How i can use model in other model? - by El Forum - 01-05-2008, 01:08 PM
How i can use model in other model? - by El Forum - 01-05-2008, 01:19 PM
How i can use model in other model? - by El Forum - 01-05-2008, 01:34 PM
How i can use model in other model? - by El Forum - 01-05-2008, 01:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB