Kiril, The issue is when you have a __call() defined in a model, then this was always being returned true when looking for __toString. Maybe is_callable is better, and have method_exists check only for __toString checks?
Cheers, Dustin On 9/28/08 9:32 AM, "Kiril Angov" <[EMAIL PROTECTED]> wrote: > > Hello, > > I was using for quite some time and on an ongoing project (symfony > 1.1) the method described here > http://trac.symfony-project.org/wiki/HowToHandlei18nDbFieldsWithAdminGenerator > Method2 > which works solely because of is_callable() in the ObjectHelper. With > the http://trac.symfony-project.org/changeset/10977 revision, this no > longer works and I was wondering exactly what Propel 1.3 compatibility > it fixes? Can we find a middle ground so that we can at least work > with i18n fields in the admin generator? > > Thanks, > Kiril > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
