Re: DB_DataObject getLinks problem
| From: | Justin Patrin | Date: | Mon, 02 May 2005 16:23:48 +0000 |
| Subject: | Re: DB_DataObject getLinks problem | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19040@lists.php.net to get a copy of this message | ||
On 5/1/05, Graham Ford <graham@wdc-webdesign.co.uk> wrote:
> Hi guys,
>
> I have been struggling with this for days now, and still cant seem to find
> an answer to the problem. Basically, when I use the getLinks() method, I
> get back and array with all the correct fields in it, but none of the
> fields have any values. This is what I am doing...
First of all, I recommend not using getLinks as it pulls *all* links
instead of just the ones you need.
Try:
$link =& $do->getLink('field');
[snip]
>
> When I turn on debug, I can see that the select statement for the join is
> run, and the result is auto-fetched, but I still get no result back. Has
> anyone ever seen this before, or have any idea what I have done wrong?
>
> I know the links.ini file is being picked up, as when I use the
> FormBuilder, it picks up the links, and auto-generates the selectbox's.
>
> Am I missing something?
>
Also, have you turned off overloading?
--
Justin Patrin