Hi, I m using 1.0 symfony version, but i cant display $nationalite->getLibelle(). Why?
2009/3/19 Joan Teixidó <[email protected]> > which version are you using?? if it's 1.0, the generator can't automaticly > do things with i18n tables (but is easy to add the behavior). > > Joan > > 2009/3/19 Ghizlane Zinbi <[email protected]> > > Hi, >> For stored data translation i created 2 tables: >> >> nationalite: >> _attributes: { phpName: Nationalite } >> id: >> code: varchar(255) >> blacklist: boolean >> created_at: >> nationalite_i18n: >> _attributes: { phpName: NationaliteI18n } >> libelle: varchar(50) >> >> Then, I created a module with : >> >> propel-init-admin frontend nationalite Nationalite >> >> In generator.yml, i added : >> >> list: >> display: [code, libelle, blacklist] >> >> What i need is display libelle of Nationalite Object, but it doesnt work >> as the way i did. >> >> Any help plz >> >> >> Ghizlane, >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
