Welcome Guest, Not a member yet? Register   Sign In
Including class dependencies
#10

[eluser]TheFuzzy0ne[/eluser]
Colin, I'm not sure I understand what you mean. The user library only makes a single call to user_model to get the data for that user. All other methods are simply methods for convenience, or setting/retrieving values in the $this->session->userdata array. If you could explain in a bit more detail, what you mean by " Just make it part of the User model", I'd really appreciate it.

Thanks.

EDIT: By MVC, I didn't mean strict MVC, but more the relaxed approach to MVC that CodeIgniter offers, i.e the use of libraries and helpers. Hopefully that makes sense.


Messages In This Thread
Including class dependencies - by El Forum - 05-14-2009, 10:05 AM
Including class dependencies - by El Forum - 05-14-2009, 12:03 PM
Including class dependencies - by El Forum - 05-14-2009, 12:13 PM
Including class dependencies - by El Forum - 05-14-2009, 01:04 PM
Including class dependencies - by El Forum - 05-14-2009, 01:30 PM
Including class dependencies - by El Forum - 05-14-2009, 01:38 PM
Including class dependencies - by El Forum - 05-14-2009, 01:53 PM
Including class dependencies - by El Forum - 05-14-2009, 02:07 PM
Including class dependencies - by El Forum - 05-14-2009, 03:05 PM
Including class dependencies - by El Forum - 05-14-2009, 03:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB