In the sfGuard schema, they override the model name to sfGuardUser - normally it would default to SfGuardUser. In the fixtures file you use the model name. This is because your model doesn't have to be the same as your table name.
On Apr 8, 4:41 pm, Joe Kelsey <[EMAIL PROTECTED]> wrote: > I am having trouble with propel:data-load. My main problem right now > is when and where do i use CamelCaps versus > underscore_separated_names? I have tried very hard to use > underscore_separated_names in my schema.yml file to properly create > the MySQL definitons of my tables. That means that I have defined a > table > > status_entry_flow: > id: > initial_status_id: > next_status_id: > > and so on. Then I want to define a fixture.yml to pre-load the > appropriate data: > > StatusEntryFlow: > open: > initial_status_id: open > next_status_id: pending > > The only example I have to follow is the sfGuardPlugin, which of > course, does not follow the CamelCaps because of the leading 'sf'. > > Where is it defined exactly when CamelCaps are required and when they > are not? Where is it defined that names starting with 'sf' do not get > camelCapped the way that others get CamelCapped? > > /.Joe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" 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-devs?hl=en -~----------~----~----~----~------~----~------~--~---
