> I don't know how good practice it is, but in this kind of situation, I
> use to change temporarily the association conditions before
> paginating, like this :
> $this->Venue->hasMany['Contact']['conditions'] =
> array('Contact.jobType'=>'main');
> $this->paginate('Venue');
> There may be more elegant solutions to do this, but ...

yep, use the Containable behaviour http://book.cakephp.org/view/474/Containable

jon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to