DB_DataObject Automatic table linking issue
| From: | wade | Date: | Wed, 23 Jul 2003 07:07:26 +0000 |
| Subject: | DB_DataObject Automatic table linking issue | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6751@lists.php.net to get a copy of this message | ||
Hi: I am using the DB_Dataobject package with great success. Thanks.
I have an issue, however, with trying to use Auto Linking via a databasename.links.ini file. I see
the Auto-generated linked objects (print_r($objects)) in my DB_DataObject class. I can see the
field names and values of the associated AutoLinked tables in the debug output from print_r(). But
I only get Nulls when I try to access the auto-linked fields like:
$myDBObject->_tablename->someField. I've even tried
$myDBObject->dataobjects_tablename->someField since that what they show up as in the debug
output.
Any ideas?
(latest DB_DataObjects, PHP 4.3.1, mysql 4.0.13, Suse 8.2)
Thanks,
Wade.
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software