[DB_DataObject] joinAdd problems
| From: | Geoff Hopson | Date: | Tue, 11 Mar 2003 20:10:42 +0000 |
| Subject: | [DB_DataObject] joinAdd problems | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4161@lists.php.net to get a copy of this message | ||
hi,
Been trying to use joinAdd, with no luck. I have a links table set up, and have been able to use getLinks() OK (which I hope proves that it is OK). But when I try and use joinAdd, I notice that the value for $_DB_DATAOBJECT in joinAdd is:
DB_DATAOBJECT = Array
(
[RESULTS] => Array
(
)
[CONNECTIONS] => Array
(
)
[INI] => Array
(
)
[LINKS] => Array
(
)
[LASTERROR] =>
[CONFIG] => Array
(
[database] => pgsql://....deleted......
[schema_location] => /Users/ghopson/Work/ITAccounting/clearsky/lib/DataObjects
[class_location] => /Users/ghopson/Work/ITAccounting/clearsky/lib/DataObjects
[require_prefix] => lib/DataObjects/
[class_prefix] => EO_
[ignore_sequence_keys] => ALL
[extends_location] => BusinessObject
[extends] => BusinessObject
[debug] => 5
[production] => 0
)
[CACHE] => Array
(
)
)
In other words, my LINKS array is empty. I have logged it out in getLinks(), and the links array is filled as I expect.
What has happened to it? (I'm using version 0.16).
Thanks for any help,
Geoff
--
Geoff Hopson
Objectology Ltd.
http://www.objectology.co.uk/