So it turns out I'm just making things harder than they need to be:
$data = $this->File->findAll('User.group_id='.$this->Session-
>read('User.User.group_id'));

I realize this only works because of recursion, but so far, it's the
best solution I have, and I need the recursive data anyway to display
all the information to the users.

Just so you know I tried the findAll as AD suggested.  The second
findAll never showed any conditions in the WHERE clause and so would
retrieve all Files.  After racking my brain for a while and staring at
the SQL output I realized I was just doing it the hard way :P


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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