Re: DB_DataObject_FormBuilder and many-many links
| From: | Justin Patrin | Date: | Wed, 02 Jun 2004 16:10:02 +0000 |
| Subject: | Re: DB_DataObject_FormBuilder and many-many links | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-29867@lists.php.net to get a copy of this message | ||
Norbert Mocsnik wrote:
Justin Patrin wrote:Whoops, forgot to send this. These are the changes to the triplelink and crosslionk code, all in one place. Here's the changes: Cross Links: * autoCrossLinks => _crossLinks * crosslinktable => table * table is the full cross-link table name * masterfield => from_field * detailfield => to_field * from_field and to_field are auto-findable * from_field is the first field that links to $this->_do->__tabke * to_field is the first link field that is not the same as the from_field (so it can be to the same table :-) Triple Links: * autoTripleLinks => _tripleLinks * linkedtable1 and linkedtable2 are no longer used * table is the full triple-link table name * masterfield => from_field * detailfield1 => to_field_1 * detailfield2 => to_field_2 * from_field, to_field_1, and to_field_2 are auto-finadable * from_field is the first field that links to $this->_do->__table * to_field_1 is the first link field that is not the same as the from_field * to_field_2 is the first link field that is not the same as the from_field and to_field_1 Both: * Work with preDefOrder and fieldsToRender -- paperCrane <Justin Patrin>If you're busy, I could work on some of these changes myself and send you a new version. I really wouldn't mind as I'd like to see this in FormBuilder ASAP. :-)It would be great. :-) I seem to be very busy this week. Looking forward to see your version! Regards, Norbert