Sunday, December 4, 2011

Re: Cake 1.3 - Complicated Model associations

I think I may have just answered my own question in writing that! If
I use the 2 model & added a beforeSave to set the type when saving to
set the 'type' field. & the condition on the relationship, then each
of the ticket type models will not be able to see the transactions
that relate to the other type.

Still open to comment & correction though...

--
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: