Re: FinderQuery and findAll

2008-03-26 Thread [EMAIL PROTECTED]

Has anyone some idea for this?

On 25 Mar, 11:06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 I have a HABTM relation in my model based on a finderQuery.
 How have I to set $conditions in findAll to filtering the model on
 fields of this HABTM relation?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: FinderQuery and findAll

2008-03-26 Thread grigri

`finderQuery` is there for when cake's automagic doesn't suit your
needs, and you want to do everything yourself. So you can't just 'set
$conditions in findAll' because you're explicitly telling cake that
you don't want that to happen.

If you want help with a solution for your specific problem, try
pasting some code - what is your finderQuery, for example? There is no
one size fits-all for this, you'll have to get specific.

On Mar 26, 2:35 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Has anyone some idea for this?

 On 25 Mar, 11:06, [EMAIL PROTECTED]

 [EMAIL PROTECTED] wrote:
  I have a HABTM relation in my model based on a finderQuery.
  How have I to set $conditions in findAll to filtering the model on
  fields of this HABTM relation?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



FinderQuery and findAll

2008-03-25 Thread [EMAIL PROTECTED]

I have a HABTM relation in my model based on a finderQuery.
How have I to set $conditions in findAll to filtering the model on
fields of this HABTM relation?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---