Try this:

<?php

class Antonym extends AppModel {

   var $belongsTo = array(
          "Word1" => array('className' => "Word", "foreignKey" =>
"word_1"),
          "Word2" => array('className' => "Word", "foreignKey" =>
"word_2")
    );

?>

And that's more or less the name of that tune.


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