DB_DataObject - Case change of generated classes

From: Date: Thu, 17 Oct 2002 06:13:50 +0000
Subject: DB_DataObject - Case change of generated classes
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2512@lists.php.net to get a copy of this message
DataObject's createTables seems to uppercase the first character of SQL table names when creating class files. Eg, an SQL tUser table makes file TUser.php and class DataObjects_TUser.
This seems to become a problem when trying to get links.ini working. Regular non-link operations seem okay.
have you got a specific example: the format [someTable] userID = tUser:id should work ok, - it's probably an idea to turn debugging on = DB_DataObject::debugLevel(5); and see what is going on..
Any comments? Why the case change?
To comply with PEAR naming standards - Classes (AFAIK) should have ucfirst Names after the _,
PHP doesn't care about class identifier case,
-unless you use the CS Patch :)
but the filesystem does!
Thanks,


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