Wednesday, May 5, 2010

Re: The docs for Containable does not work for complex search. Complex search is 2 models away. For cake 1.3

On May 5, 3:40 am, Kei Simone <kimc...@gmail.com> wrote:
> Hi Andy,
>
> so in conclusion, i should get into the habit of installing these cake
> files as plugins.
>
> Thank you.
>
> I didn't try your one_query cause i tried reading it but i dont quite
> understand how to use it.

There's not much to figure out if you know how to use containable. You
use it exactly like containable and as I said either:

$this->attach('Mi.OneQuery', array('paramName' => 'contain'));
$this->find('all', array('contain' => $same ..
OR
$this->attach('Mi.OneQuery');
$this->find('all', array('oneQuery' => $same ..

>
> Hope you dont mind.

Of course not ;)

AD

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: