SaveAll() on related models is an extremely useful function which has
not been documented in the cookbook, or FAQ, only sparsely in the API,
and neither has much been written about it in these forums.

This might help as a starting point for documentation efforts:

http://blog.matsimitsu.nl/code/164/saveall-with-cakephp
http://blog.matsimitsu.nl/code/166/saveall-with-cakephp-part2

Sorry, couldn't find much else - a few scattered forum posts, nothing
remotely definitive, though.

The testcases might be another source of info until documentation
cmes out (fwiw).

Examples might include: the data array format to pass in for the
different relationships (hasOne, belongsTo, hasMany, HABTM); the max
levels deep (if any) it can be; is there a way to validateAll
independant of SaveAll(); inserting vs updating, specifying whitelists
for each model, etc....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to