Hey there, in Doctrine 1.2 the ability to specify your own table class that extends Doctrine_Table: http://www.doctrine-project.org/upgrade/1_2#Added%20ability%20to%20configure%20table%20class
Look in the docs for the ability to configure Doctrine in your ProjectConfiguration class or have a look into the sfDoctrinePlugin contents within symfony itself: lib/vendor/symfony/lib/plugins/sfDoctrinePlugin. There you'll see how it's done. Cheers, Daniel On 04.02.2010, at 21:30, Greg wrote: > Hello > Is there a way to add a method "findBySimilar" to all the existing > models without modifying them ? > > (event dispatcher ?... other Idea) > Thanks for your feedback > > > > -- > 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. > -- 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.
