Is it possible to take 2 models and paginate as 1?
I have 2 models where (model 1) the data is automatically generated thru the site database simply has 3 fields (id, User_id, and entry_id) => all the data is gathered thru the entry_id (model 2) user fills out a form and enters all the data themselves with 10 different fields in db I need to take model 1 and model 2 combine the data and paginate as 1 complete set. I am just thinking ahead here and forsee issues with the number offsets for each group since the numbers will not match up as there could be 15 model 1 and say 3 model 2. Am I correct in that assumption? Say limit 5 would get first 5 model1 and the first 3 model2.model 2 would show up every time no? Ideas? Suggestions? (other than put all in 1 model , different validation rules for each model ) Thanks, Dave -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
