You don't need a model, so that's easy. The convention is table_a_table_bs 
(where table_a and table_b are used alphabetically and the last table is 
pluralised). So in your example it's be xxxx_yyyy_zzzzs

Jeremy Burns
Class Outfit

Tel: +44 (0) 208 123 3822
Mob: +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com

On 16 Nov 2011, at 03:42, TonyCharlotteCakePHP wrote:

> I have a have two tables that need a join table but one of the tables
> that I'm trying to join has an underscore. What I'm wondering is what
> the models' file name, models' join database table name, and models'
> class name should be.
> 
> For example:
> 
> Table one = xxxx
> table two = yyyy_zzzz
> join table = ?
> 
> Should the join table in the database be named xxxxs_yyyy_zzzzs ?
> Should the model file name for the join be XxxxYyyyZzzz ?
> Should the model class name be XxxxYyyyZzzz ?
> 
> Thanks for your help
> 
> -- 
> 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
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to