Welcome Guest, Not a member yet? Register   Sign In
Trouble with Models
#6

[eluser]Dan Decker[/eluser]
Thanks for the ideas.

Should I pass the third paramater even though I have the database class autoloaded? This is likely a misunderstanding on my part, as running the query outside of the Model didn't seem to require any extra effort asside from having the DB class autoloaded. I see where there would be no harm in passing TRUE just as a guarantee.

Seriously, can the php tags be completely removed from Controllers and Models? I noticed this was the pattern in the examples used in the docs. I just assumed it was implied that we were to use them. I'll remove them and see what happens!

Thanks to everyone, I'll post back with results.


Messages In This Thread
Trouble with Models - by El Forum - 03-16-2008, 11:26 AM
Trouble with Models - by El Forum - 03-16-2008, 01:14 PM
Trouble with Models - by El Forum - 03-16-2008, 02:26 PM
Trouble with Models - by El Forum - 03-16-2008, 02:33 PM
Trouble with Models - by El Forum - 03-16-2008, 02:56 PM
Trouble with Models - by El Forum - 03-16-2008, 03:59 PM
Trouble with Models - by El Forum - 03-16-2008, 04:10 PM
Trouble with Models - by El Forum - 03-16-2008, 04:11 PM
Trouble with Models - by El Forum - 03-16-2008, 04:20 PM
Trouble with Models - by El Forum - 03-16-2008, 04:22 PM
Trouble with Models - by El Forum - 03-16-2008, 04:31 PM
Trouble with Models - by El Forum - 03-16-2008, 04:38 PM
Trouble with Models - by El Forum - 03-16-2008, 04:45 PM
Trouble with Models - by El Forum - 03-16-2008, 06:09 PM
Trouble with Models - by El Forum - 03-16-2008, 06:13 PM
Trouble with Models - by El Forum - 03-16-2008, 06:39 PM
Trouble with Models - by El Forum - 03-17-2008, 08:15 AM
Trouble with Models - by El Forum - 03-17-2008, 11:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB