Welcome Guest, Not a member yet? Register   Sign In
Problem -> Acess to CI instance...
#7

[eluser]Dam1an[/eluser]
I just skimmed this thread, so feel free to shout at me if I missed something, but you said you wanted to use static methods cause you don't want methods that manipulate multiple object in a model which is only aware of itself. So why not have 2 models, singular and plural? Such as User and Users etc
All the methods related to me (a single user) would go in the User model, and everything else (which you currently have as static) goes into the plural model.


Messages In This Thread
Problem -> Acess to CI instance... - by El Forum - 06-17-2009, 07:12 PM
Problem -> Acess to CI instance... - by El Forum - 06-17-2009, 09:46 PM
Problem -> Acess to CI instance... - by El Forum - 06-18-2009, 04:19 AM
Problem -> Acess to CI instance... - by El Forum - 06-18-2009, 04:54 AM
Problem -> Acess to CI instance... - by El Forum - 06-18-2009, 05:16 AM
Problem -> Acess to CI instance... - by El Forum - 06-18-2009, 05:36 AM
Problem -> Acess to CI instance... - by El Forum - 06-18-2009, 05:39 AM
Problem -> Acess to CI instance... - by El Forum - 06-18-2009, 05:43 AM
Problem -> Acess to CI instance... - by El Forum - 06-18-2009, 06:06 AM
Problem -> Acess to CI instance... - by El Forum - 06-18-2009, 06:09 AM
Problem -> Acess to CI instance... - by El Forum - 06-18-2009, 06:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB