using autoLoad callback with DataObjects

From: Date: Fri, 29 Apr 2005 04:45:17 +0000
Subject: using autoLoad callback with DataObjects
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19011@lists.php.net to get a copy of this message
Hi there, There has been suggestions to load the DataObjects class without the factory so it could be compat with DBDO however I feel its a pain to code this require_once 'DataObjects/Table.php'; $do = new DataObjects_Table; I am testing the callback method so i just do DataObjects_Table however the only issue i found is that DB.php is loading DB_Error but its within the DB.php not DB/Error.php . I cant work out why its trying to load DB my suspicions are in the generator which i am having to port to work properly with MDB2 which i have found out :| Anyway is the autoLoad callback efficient ?

« previous php.pear.general (#19011) next »