Re: DB_DataObject_FormBuilder: linkNewValue HOWTO
| From: | Justin Patrin | Date: | Fri, 11 Mar 2005 17:09:06 +0000 |
| Subject: | Re: DB_DataObject_FormBuilder: linkNewValue HOWTO | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17968@lists.php.net to get a copy of this message | ||
On Fri, 11 Mar 2005 17:58:52 +0100, Dot Deb <dotdeb@gmail.com> wrote:
> On Fri, 11 Mar 2005 08:12:02 -0800, Justin Patrin <papercrane@gmail.com> wrote:
> > > 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.
>
> Uhmmm ... if I set
> linkNewValue=false
> I obtain no --New Value-- while
> linkNewValue=true
> gives the expected --New Value--. The same happens using 0 and 1.
> It looks as if it is a genuine boolean ...
This is in the ini file? If so, I stand corrected.
So it's working overall but not per-table?
>
> > BTW, you can also set it as an array to turn it on for only certain
> > fields in a table. See the docs.
>
> Unfortunaley the page
>
> http://opensource.21st.de/tiki-index.php?page=DB_DataObject_FormBuilder
> cannot be accessed right now.
> Is there any other site were I can find the docs?
>
Yep. Luckily I copied the entire FB docs to my own wiki before Markus
took his site down (possible security issues). You can view it here:
http://www.reversefold.com/tikiwiki/tiki-index.php?page=DB_DataObject_FormBuilder
Note: the FormBuilder.php file also has all of the docs in it for each
of the options. Just search for the option name.
--
Justin Patrin