friend. Saves you sooooo much time.
If paginating deep associations, espcially if you want a condition on
model 3 or 4, then you need to get your head around ad-hoc (forced)
joins.
http://book.cakephp.org/view/86/Creating-and-Destroying-Associations-on-the-Fly
Teknoids blog is a must read if you are to get your head around
forcing joins, and you will eventually need his advice on HABTM too,
saved me edless hours of pain.
http://teknoid.wordpress.com/2008/07/17/forcing-an-sql-join-in-cakephp/
HTH
Paul.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
No comments:
Post a Comment