[symfony-users] difference between 'new' and 'create' methods generated by sfDoctrineRouteCollection

2009-10-07 Thread Ashok
What is the main difference between 'new' and 'create' methods generated by sfDoctrineRouteCollection? Where and when should I use one of the other? Explanation with an example would be great. Thanks --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: simple one to many relationship

2009-10-01 Thread Ashok
tabase client like mysql whatever your > database is. > > your query will look like > > select * from comment where post_id = ?; > > if it returns something then you have done something wrong in save method. > > > > > > On Wed, Sep 30, 2009 at 4:52 PM, Ashok

[symfony-users] simple one to many relationship

2009-10-01 Thread Ashok
Hi, I've two tables Post and Comment (1:N relationship). What I'm trying to get all the comments related to the post I'm saving from within Post class (/lib/model/doctrine/Post.class.php. and Yes I'm overriding save() function). I don't get any results by calling $this->getComments (); Am I doing

[symfony-users] Reg: problem in sfPokaYokePlugin client side validation

2008-11-06 Thread ashok
clear out this Javascript validation error. Thank you, Ashok. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To u