has anyone got any hints on writing to a many_many relationship? I'm just starting to understand dataobjects a little better and trying to build some forms... the wiki is awesome for info but I can't find anything on saving relationships.
The following is what I have in my head but not too sure how it all fits together
$myDataObject = new myDataObject;
$myDataObject->relationship = form data;
a many_many is just a link between 2 dataobjects. Note you will need to write() both objects before you add it to the relationship as the ID of the object is created on write()
// MyDataObject has a many_many to MyOtherDataObject called 'Others'
$dataobject = new MyDataObject();
$other = new MyOtherDataObject();
// you should see a MyDataObject_Others table in your database with 1 entry