FAQ
So as far as I can tell, if you want to paginate a model based on the
conditions in another model associated via HABTM, you need to do a custom
join. It'd be nice to have some convenience methods to make that more
"Cakey."

It's a fairly common need; find posts by author's status, find athletes by
team's country, etc.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcake-php @
categoriesphp
postedNov 17, '12 at 10:23p
activeNov 17, '12 at 10:23p
posts1
users1
websitecakephp.org
irc#cakephp

1 user in discussion

Benjamin Allison: 1 post

People

Translate

site design / logo © 2023 Grokbase