I was not looking at the code very well that you have pasted and sent.
But when I said you must use an alias when using a class for multiple
associations was correct. So you must not have read that part of the
email...
If you follow the conventions as I created them you will be able to use this
shortened version of the association
var $hasOne = array ("Author" =>array("classname" => "Author"),
"AssistantAuthor" =>array("classname" =>
"Author));
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---