I saw this thread before posting. In thread which you posted there no
any solution than foreach/if.
You can see that I wrote that 'how can
I exclude this empty array (whole [2] array I mean) without using
foreach/if blocks? I know that using bindModel will do all as well
but
this is not for my ques
Please see
http://groups.google.com/group/cake-php/browse_thread/thread/f649c3b2c74bc8e2
On Dec 9, 9:44 am, Andrew Hodirevski wrote:
> Hello!
> I have the next question.
>
> There is part of code:
>
> $result = $this->find('all', array(
> 'contain' => array(
>
Hello!
I have the next question.
There is part of code:
$result = $this->find('all', array(
'contain' => array(
'User' => array(
'fields' => 'id',
'conditions' => array(
'id