I looked at the manual and try to use the $recursive option on one of
my methon on a controller. I my index method I want to retreave the
data from my model with no recursive data
According to what I understood on the manual the way to doint is this way:
function index(){
                
$this->set('data',$this->Bodega->findAll($conditions='estaactivo=1',$fields=null,
$order=null, $recursive=0));
                
        }
But the $data array is still getting populated with all the recursive data.
Could someone please let me know what I might be doing wrong?.
Thanks.

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