Thursday, May 27, 2010

the function findby have no any change for the param 'recursive'

hi,

I have use the findby function, but the recursive param have no role.
my cakephp version is 1.2.1.8004

for example 
I have use the model function 
findbyusername('aaaa', array('recursive' => 0));

but it has show like findbyusername('aaaa', array('recursive' => 1));

do I have  wrong use the function

I want to show the result just like 
find('first',array('conditions' => array('username'=>'aaaa'),'recursive' => 0));

is it a bug?

thank you

Rimoe

 



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

No comments: