Welcome Guest, Not a member yet? Register   Sign In
Which Model
#1

[eluser]Unknown[/eluser]
Hi All,

Been searching the CI forums for an answer to this - found loads on models but not this particular (probably daft) question:-

Supposing I have a Model to deal with my students (adding a student, updating a student etc) and a Model to deal with courses (adding a new course, deleting a course etc.) If I wanted to code a new method to see if a student was enrolled on a particular course (by looking at a junction table between the users and courses tables in the database), which Model would be best candidate for housing this?

Thanks,
C


Messages In This Thread
Which Model - by El Forum - 12-02-2009, 06:38 AM
Which Model - by El Forum - 12-02-2009, 07:03 AM
Which Model - by El Forum - 12-02-2009, 07:16 AM
Which Model - by El Forum - 12-02-2009, 10:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB