Hummm, afterFind does not seem a good idea .. maybe before the findAll
since your condition will apply there. afterFind will be too late ..
On Mar 28, 11:54 am, "mac joost" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > var belongsTo can support conditions have you tried using them?
>
> Conditions would
Hi,
> var belongsTo can support conditions have you tried using them?
Conditions would not work in my case since the model to bind to would
be conditional, not the query itselve.
> if you want them to be dynamic try combination bind and unbind models
I will look into this. I'm planning to do t
You can use the 'conditions' into the relation definition. You can
also use bindModel to change this condition.
On Mar 28, 11:17 am, "mac joost" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm building a site for an art magazine. Among other things, they have
> articles and advertisements.
>
> On the ho
var belongsTo can support conditions have you tried using them?
if you want them to be dynamic try combination bind and unbind models
in the controller
See the manual for more...
HTH
Tarique
On 3/28/07, mac joost <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm building a site for an art magazine. A