Monday, February 28, 2011

Anyone heard of a SuperSaveAll() for saving deep bindings?

Has anyone, in any of their cake travels, ever come across generic
code for saving deep associations (more than the 2 levels deep which
SaveAll() currently handles?)

Something like a superSaveAll(), where you could do the following:

A hasMany B hasMany C

$this->A->superSaveAll($this->data);

... and all A, B and C records are saved ?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: