Re: DB_DataObject_FormBuilder and many-many links
| From: | Justin Patrin | Date: | Tue, 25 May 2004 21:42:48 +0000 |
| Subject: | Re: DB_DataObject_FormBuilder and many-many links | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-29675@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
Oh, and since I'm thinking about it now, here's some more thoughts. The groupname for these should be in the config. Perhaps 'title'? If not given, the table name? The name of the group in the quickform should be the crosslink table name. Also, this code should sit up in the element loop so that preDefOrder and fieldsToRender (and possibly preDefElements) could be used with it. As it is now, there is no way of removing the element except for removing the autoCrossLinks entry.Never mind about changing the name of the group...I didn't realize that you had allowed fieldLabels to be used. :-) Using __crosslink_table_name is a bit long, though.... -- paperCrane <Justin Patrin>