The only way I have done it is to change the relationship to hasMany
(both ways), with an actual model in between.

So, you would have
Song hasMany ChartSong
Chart hasMany ChartSong
ChartSong belongsTo Song, Chart

now this model can have any amount of data you like, but you do need to
manage the association connections yourself (ie creating, deleting).


On Jan 25, 3:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I have Song hasAndBelongsToMany Chart ,and there are table
> 'charts','songs','charts_songs'
> and I have a attribution besides chart_id and song_id ,how can I acess
> this attribution?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to