It is written in the CookBook at:
http://book.cakephp.org/view/75/Saving-Your-Data
Look at saveAll as well as the subsection at:
http://book.cakephp.org/view/84/Saving-Related-Model-Data-hasOne-hasMany-belongsTo
All is explained there :)
Enjoy,
John
On Jun 25, 4:10 pm, "Dave Maharaj :: WidePixels.com"
<d...@widepixels.com> wrote:
> Just a question about figuring out how to aproach this situation. If you
> think of a resume you may have more than 1 education / work history...so on
>
> User hasMany "educations" so in the case of a resume how could you create 1
> form that would load all of the users educations they have created? So if
> user wanted to edit thier 'educations" it would load the form with the 3
> educations they have created. Is there an easy way to set this up? Rather
> thn edit/1, edit/2, edit/3 they could edit all on 1 page with only 1 submit
>
> Suggestion?
>
> Thanks,
>
> Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment