I am manually making an array of data to run a saveAll for an internal
function of data I gather so I cant seem to get the 1 relation to save and
curious why.

 

User has 1 Location has 1 Date

 

So I create $data = array(

'User' => array(),

'Location' => array(

'Date' => array()));

 

So User and Location save but Date does not. I tried with Date inside the
Location array and straight inline just like User and Location

 

$data = array(

'User' => array(),

'Location' => arra(),

'Date' => array());

 

Will saveAll only save direct relations only? Even if Date is related to
User thru Location?

 

 

Thanks,

 

Dave

 

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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