Sunday, June 10, 2012

Re: more than 1 level of belongsTo

OK, I finally managed to work around this thanks to this:
http://stackoverflow.com/questions/806650/in-cakephp-how-to-retrieve-joined-result-from-multiple-tables

I also had to remove $belongsTo from models because otherwise it would
naturally do joins twice causing conflicts. Of course the solution
kind of sucks since I'd rather leave this joining logic inside the
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate