Re: DB_DataObject_FormBuilder: linkNewValue HOWTO

From: Date: Fri, 11 Mar 2005 16:12:02 +0000
Subject: Re: DB_DataObject_FormBuilder: linkNewValue HOWTO
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17964@lists.php.net to get a copy of this message
On Fri, 11 Mar 2005 16:15:50 +0100, Dot Deb <dotdeb@gmail.com> wrote: > I used linkNewValue=true in the .ini file with success. > Of course, it affects the behaviour of all tables. > > Now I would like to set the linkNewValue=true for some table only. > I tried with > linkNewValue=false This should be linkNewValue=0. if you use false, it will become the string "false" which equates to true. Use 0 and 1 in the ini files for booleans. > in the .ini file and > $fb_linkNewValue=true > in the autogenerated subclass definition but I does not work. > Any suggestion? > BTW, you can also set it as an array to turn it on for only certain fields in a table. See the docs. In the future this option will probably be off by default as it can cause a lot of extra processing. -- Justin Patrin

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