I'm going to add below the general bd schema i created as well:
galeries:
• id
• category_id
• title
• description
• image (enlargable w/ thumbnail)
gallery_categories:
• id
• title
Does this scheme seem accurate? I was using bake to do this for me, but I really want to grasp the concept of how the CakePHP associated methods work.
Thanks for any corrections or suggestions with my "solution".
--
View this message in context: http://n2.nabble.com/association-type-for-model-hasMany-or-HABTM-tp2540870p2540970.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
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