I think the only way is to create sfModelGenerator class, copy the content from old one, add new stuff and make sure it's autoloaded in the end. However it's bit hackish :-(
T On 20 Maj, 10:16, Gareth McCumskey <[email protected]> wrote: > class myNewGeneratorClass extends sfModelGenerator > > On Wednesday 19 May 2010 17:09:10 Jérôme TEXIER wrote: > > > Hi, > > > I would override sfModelGenerator class in order to change renderField > > method's behavior. > > Generator stuff is not supported by factories.yml and it looks like > > there no helpful events I could tweak there. > > Any idea on how I can have my own sfModelGenerator class ? > > > Regards. > > > Jérôme > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > 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 > athttp://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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
