[symfony-users] Re: What symfony gives us regarding objects/collections
So Doctrine generates two base classes per database table ? (at aminimum, probably) On Aug 26, 9:02 pm, Eno symb...@gmail.com wrote: On Wed, 26 Aug 2009, Dennis wrote: The automatic class(es) that Symfony generates that are named after tables in the Dbase . . . Are they: The collection (i.e.) the table, The class for the individual object with setters/getters/field sanitizing-qualifying, or Both? Both. If you are using Propel, you will get peer classes which generate objects from database queries and classes for the object itself. Similarly, when using Doctrine you will get a class representing the table that generates objects from queries and a class representing a single object. -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: What symfony gives us regarding objects/collections
On Thu, 27 Aug 2009, Dennis wrote: So Doctrine generates two base classes per database table ? (at aminimum, probably) Two bases classes per model, yes. -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: What symfony gives us regarding objects/collections
On Wed, 26 Aug 2009, Dennis wrote: The automatic class(es) that Symfony generates that are named after tables in the Dbase . . . Are they: The collection (i.e.) the table, The class for the individual object with setters/getters/field sanitizing-qualifying, or Both? Both. If you are using Propel, you will get peer classes which generate objects from database queries and classes for the object itself. Similarly, when using Doctrine you will get a class representing the table that generates objects from queries and a class representing a single object. -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---