I'm trying to create a page for organizing comic books. One table needs to
have multiple hasone relations and I can't figure out how to do it. Any help
would be appreciated. Here's what I have so far:

<?
 class Comic extends AppModel {
 var $name = 'Comic';
 var $belongsTo = array('User');
 var $hasOne = array('Artist'),
 array('Author'),
 array('Rating'),
 array('Publisher');
 }
 ?>

-- 
View this message in context: 
http://www.nabble.com/CakePHP-multiple-hasone-relations-issue-tp25006016p25006016.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to