Re: Did DataObject.php rev 1.112 break class loading?
| From: | Alan Knowles | Date: | Thu, 31 Jul 2003 05:03:18 +0000 |
| Subject: | Re: Did DataObject.php rev 1.112 break class loading? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18987@lists.php.net to get a copy of this message | ||
mitchell perilstein wrote:
Hi guys, Rev 1.112 added this $class = strtolower($class); to staticGet() with the CVS comment about fixing cache clearing. Well, for me, anyway, it broke class loading.have a go with the latest version - I think I thought it might break something after I released it :) Regards Alan
If I have DB table MyFooTable, the generator will create MyFooTable.php which will hold class DataObjects_MyFooTable. All as expected. But then the autoloader tries to load Myfootable.php in the else part of _autoloadClass. Is this expected behavior? Removing the strtolower in staticGet fixes this problem, at least. (probably unfixes the 1.112 bug though... :-) Thanks,-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com