Hi Jens, thanks again.

Unfortunately, I can't test now, because I'm away. But I'd like to
clarify something.
 The example in the book is that:
$this->Post->find('all',
  array('contain' => array('Comment'=>
     array(conditions' => array('Comment.author ='=> "Daniel")
          ,'order' => 'Comment.created DESC'))));

But I remember when I've test yestederday the system listed all
records, but it hides the Comments that weren't belongs to Daniel. In
my case, I have a search witch I have to pass a parameter and the
system returns all records depending on the parameter without hides
anything. I'm going to try this more later, then I'll keep in touch.

Thanks guy.


On Jul 27, 10:43 am, Jens Dittrich <[email protected]> wrote:
> besides, there is an example like that in the book!
> see here:http://book.cakephp.org/view/1323/Containable

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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