Welcome Guest, Not a member yet? Register   Sign In
Not grokking models, please help
#4

[eluser]WanWizard[/eluser]
All CI internals are there by reference, so they wouldn't take up (much) space.

If you want a rough estimate of the object size, do a memory_get_usage() before and after you created the object (due to lack of a sizeof() function), and calculate the difference.

As to the loading, CI's models are not designed to be loaded this way. Instead of trying to design this by yourself, maybe you should look at Datamapper (DMZ), which does exactly this.


Messages In This Thread
Not grokking models, please help - by El Forum - 07-18-2010, 02:59 PM
Not grokking models, please help - by El Forum - 07-19-2010, 07:14 AM
Not grokking models, please help - by El Forum - 08-02-2010, 08:45 PM
Not grokking models, please help - by El Forum - 08-03-2010, 12:58 AM
Not grokking models, please help - by El Forum - 08-03-2010, 01:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB