Hi,
I'm new to cake and this group, I would like to know if it is possible
to add multiple hasAndBelongsToMany relationships in one model? ( I
assume it is...)
my declaration & first instance of it is working fine, however it's
not letting me add another...
example:
<?php
class Game extends AppModel {
var $name = 'Game';
var $hasAndBelongsToMany = array('Developer');
//want to add second many to many relationship here.
$hasAndBelongsToMany = array('Publisher'); //does not work... tried
other syntax as well w/ no luck.
}
?>
Thanks in advance.
mk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---