Re: linkDisplayLevel not working from Member Variable in the DataObject
| From: | Justin Patrin | Date: | Wed, 20 Apr 2005 20:29:32 +0000 |
| Subject: | Re: linkDisplayLevel not working from Member Variable in the DataObject | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18836@lists.php.net to get a copy of this message | ||
On 4/19/05, Rodrigo Alvarez <papipo@gmail.com> wrote:
> Hi PEARs,
>
> I have a DO with:
>
> var $fb_linkDisplayFields = array('costcategory_id', 'name');
>
> So I would like the first field to be show as a text. This is inside the
> Costcategory DO:
>
> var $fb_linkDisplayFields = array('name');
>
> If I use:
>
> $fb->linkDisplayLevel = 2;
>
> I works perfect, but I prefer to use:
>
> var $fb_linkDisplayLevel = 2;
>
> inside the first DO, but this way, it doesn't work.
>
> Why?
>
> It's in the docs!!
>
> http://opensource.21st.de/tiki-index.php?page=Configuring+FormBuilder
>
What version of FormBuilder is this? There were some problems in the
past with this.
It *should* work from the DO... Try setting it in the DO before you
cann DB_DO_FB::create($do);
$do->fb_linkDisplayLevel = 2;
Also, try 3, 4, etc and see if that makes any difference.
--
Justin Patrin