Friday, February 3, 2012

Combined pagination between 2 models possible?

I have 2 models: Restaurant, and Venue.

All Venues can host events, and some Restaurants can host events.

I want to make a paginated list of places that can host events - example:

1) Venue
2) Restaurant
3) Venue
4) Venue
...etc

Is there a way to do this? Have a paginated results set that combines data from 2 models?

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: