Re: DB_DO_FB and fields in crossTables

From: Date: Thu, 25 Nov 2004 19:36:53 +0000
Subject: Re: DB_DO_FB and fields in crossTables
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15813@lists.php.net to get a copy of this message
On Thu, 25 Nov 2004 13:42:51 +0100, Sönke Ruempler <ruempler@topconcepts.com> wrote: > Hi, > > I'm exploring DB_DataObject_FormBuilder and there occured a question to me: > > Is it possible to have more fields thea the 2 Ids in the Crosslink-Table. > Example: > > [user] > user_id > name > > [user_products] > user_id > prod_id > vote > > [products] > prod_id > title > ... > > Here is the field 'vote' how a user voted for a product (maybe a silly > example but it shows what I mean). Any ideas? > Sure it's possible, but the crossLink code won't do anything with them. It's meant (for now at least) only for making connections between tables. I've been thinking about adding extra field possibilities, but I'm not sure if or when I'll get around to it. -- Justin Patrin

« previous php.pear.general (#15813) next »