You can call both the association name and the class name whatever you
want.  In fact, if the association name and class name are the same,
the 'className' key is not required.

The association name defines the name of the key that is returned in
query results, so you can use whatever you want for that (assuming that
the class in 'className' actually exists).

Also, if you're using the defaults for all array keys (read: following
Cake's conventions), you don't even need to define the array, just use:

var $belongsTo = 'Details';


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

Reply via email to