I read the saveAll in the bookand it says define $fieldList but looking at
the saveAll it

fieldList: Equivalent to the $fieldList parameter in Model::save()

saveAll(array $data = null, array $options = array()) 

Where do youput the $fieldlist array and how is it structured? Per model
User => array('name', 'age') or all in one array('User.name',
'Profile.color')

Thanks,

Dave

-----Original Message-----
From: Miles J [mailto:[email protected]] 
Sent: October-06-09 9:32 PM
To: CakePHP
Subject: Re: Proper way to validate related models?


Or you can use saveAll() and pass and option of validate = first.

http://book.cakephp.org/view/75/Saving-Your-Data


--~--~---------~--~----~------------~-------~--~----~
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