DB_DataObject
| From: | Christopher G.Morlier | Date: | Thu, 17 Oct 2002 15:19:58 +0000 |
| Subject: | DB_DataObject | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-2517@lists.php.net to get a copy of this message | ||
I am using the DB_DataObject package, and have tried the following code:
$dbpage =& DataObjects_Pagedata::staticGet($page);
However, I get an error that class dataobjects_pagedata does not exist. I have configured the dataobjects and verified that the file containing the class DataObjects_Pagedata is included.
So I changed to:
$dbpage =& DB_DataObject::staticGet('DataObjects_Pagedata',$page);
And I no longer get any errors. The DB/DataObject.php file is only included through the Pagedata.php file, so it reconfirms that the /DataObjects/Pagedata.php file is included.
Any ideas why this would happen?
Thanks,
Chris