For example, say I have a Band which has many Members, many Gigs and many Records. This can be easily represented in the Band model as:
Everything links fine given the correct field names, but then how do I link another model to Members, Gigs, or Records? Say each Record has one cover Image.. I'm not sure how to define / represent it.var $hasMany = array('Members', 'Gigs', 'Records');
Thanks!
Clint
No comments:
Post a Comment