Re: DB_DataObject loading linked values

From: Date: Thu, 19 Aug 2004 23:08:39 +0000
Subject: Re: DB_DataObject loading linked values
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14190@lists.php.net to get a copy of this message
Hi! Justin Patrin wrote: > Why do you need all of the linked values? A Form perhaps? Have you > looked into DB_DataObject_FormBuilder? Well - it's a bit more difficult ... > That said, I'm sure you don't need eval(). Take this snip of code > for example: $var = 'someVarName'; > $o = new Obj(); > $o->someVarName = 'hello'; > echo $o->$var; > > This will echo "hello". I just found out about this also ... And probably I will do that - but is there also a way to find out which are the linked values? Then I would not need a predefined array ... regards Daniel

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