Hi,

Can a model's displayField be a field in a foreign table linked to
that model?

For example:

My database has three tables: songs, versions, and tracks.

Every song can exist in several versions. Every version, in turn, can
be referenced by many tracks. Essentially, the relationship looks like
this:

songs <- versions <- tracks

Now, when I add a new track, I want the displayField for "version" to
equal the song's name. That field, however, exists in the "songs"
table. Is it still possible to use it as the displayField?

(If anyone needs the example clarified, just let me know.)

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