You use the Model class when dealing with a single element - like a blog entry, or a blog comment; and you use the ModelTable class when dealing with the table - like when you retrieve some records from it. When retrieving items via the ModelTable class, you get a collection of Model objects.
On Thu, Oct 1, 2009 at 22:25, Keith <[email protected]> wrote: > > I'm working through the Jobeet tutorial to learn 1.2 after a long > hiatus from Symfony. > > What is the difference between the ModelTable and the Model class in > the model/doctrine/ directory? > > When is it appropriate to use each? I'm assuming it has something to > do with how requests are processed and the order in which these model > classes get processed, but I may have overlooked it or not understood > the tutorial if it covered it. > > Thanks for the help! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
