How embarrassing.

->getObject();

erm.....

shuffles off to read API again.



On Apr 30, 4:49 pm, Tofuwarrior <p...@clearintent.co.uk> wrote:
> Hi All,
>
> I'm using the propel nested set stuff in 1.5 which is great APART from
>
> When an object is saved with$folder=$form->save() if I then try to
> $parent->addChild($folder); or $folder->insertAsLAstChildOf($parent)
> to place it in the tree
>
> The tree data isn't saved with the object.
>
> If I create a new object that hasn't been saved to the db then it
> works fine.
>
> So the problem is that I am currently getting the $folder back from
> $form->save() which of course saves it and returns it.?
> I can then call save once I've done the nested set stuff, or is there
> another way?
>
> Cheers,
>
> Paul
>
> --
> 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 symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> 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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to