Hi Arak,

I am not sure if I understand your problem correctly, but maybe the containable 
behaviour can help?
http://book.cakephp.org/view/474/Containable

Anja

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag 
von Arak Tai'Roth
Gesendet: Donnerstag, 12. Februar 2009 21:55
An: CakePHP
Betreff: recursive 2 with fields problem


So I have been looking around trying to figure out what my problem is and 
stumbled across this.

http://groups.google.com/group/cake-php/browse_thread/thread/3ded2f1b4bd71478/c36a5b0455a15fcb?lnk=gst&q=recursive#c36a5b0455a15fcb

It's my exact issue, however there is no answer, so I was wondering if someone 
has an answer for this.

The issue if you didn't go to the link is this. Using the recursive=2 option in 
$this->Model->find() yields the results I need, however I want to limit what 
fields are found in the first model, so I use the 'fields' = array() option as 
well, and as soon as I do, I no longer get the second model that is indirectly 
related.

Any idea what I'm doing wrong?


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