hya,

 I have a Gallery model , wich *may* have child galleries.
 In the Gallery model I used $hasMany = 'Gallery';

 When I use the $this->set('data', $this->Gallery->findAll());
 $data returns only those galleries cointaining other galleries. Those
without children, are shown as empty arrays.
 Am I doing something wrong ?
 (maybe, it's 5 am)

 :)
 spark!


--
[web] http://synapsisdi.com.br
[livesets] http://djspark.com.br

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

Reply via email to