Welcome Guest, Not a member yet? Register   Sign In
Independent database
#9

[eluser]wiredesignz[/eluser]
One question on this topic:
Which rule states that you must use static method calls from within a class?

I can see this is a practical issue where class methods are not in object context, but I don't see any difference in accessing the $CI instance (which brings you into object context) and using $this inside a Model, which is already in object context.


Messages In This Thread
Independent database - by El Forum - 04-03-2008, 04:16 PM
Independent database - by El Forum - 04-03-2008, 04:53 PM
Independent database - by El Forum - 04-03-2008, 05:09 PM
Independent database - by El Forum - 04-03-2008, 05:27 PM
Independent database - by El Forum - 04-03-2008, 05:34 PM
Independent database - by El Forum - 04-03-2008, 05:56 PM
Independent database - by El Forum - 04-03-2008, 06:00 PM
Independent database - by El Forum - 04-03-2008, 06:41 PM
Independent database - by El Forum - 04-03-2008, 07:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB