On Sat, Jan 22, 2011 at 11:52 PM, mmamedov <[email protected]> wrote:
> OK I did it.

Just to clarify one thing: In my example, the value of the array
that's passed for $scope is irrelevant. The important thing is to
check if the 'union' key is set in $conditions. But, if you need to
pass any data keep in mind that the array value can be another array
(possibly with many keys). So,

$this->paginate('User', array('union' => array('foo' => 'bar')));

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