Welcome Guest, Not a member yet? Register   Sign In
IgnitedRecord model functionality: hook, behavior or something else?
#2

[eluser]Randy Casburn[/eluser]
You're thinking is pretty clear on this except a hook isn't really the right direction.

This is classic MVC behavior:

1) The user interacts with a page and provides some input to a controller (say 'save')
2) your controller instructs an appropriate Model to perform your update query
3) your controller then loads up a new views, perhaps showing the updated FAQ in the correct order

That should do it.

Randy


Messages In This Thread
IgnitedRecord model functionality: hook, behavior or something else? - by El Forum - 10-22-2008, 10:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB