By default a find with recursive will only fetch the data from the
model and it's directly associated models.  Therefore when running
User->find() you will get User and Project but not Library as library
has no direct link to User.

To include the extra level of associations increase User->recursive
from 1 to 2 and run your find again.  However I would recommend
familiarising yourself with the containable behaviour as it really
helps to make sure you get exactly the data you need.

HTH

Paul

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to