Transform column names into camelCase?
I'm working on a project where the column names are in uppercase, with words separated by underscores.
Is there any built in option in Zend_Db to automagically have these column names transformed into camelCase when you fetch stuff?
For instance, if I'm fetching an object it would be nice to have $obj->userId instead of $obj->USER_ID.
Edit: And by the way, I'm using the Pdo_Mssql driver.
Best Regards,
Troxy
Last edited by troxy : 10-15-2007 at 12:59 AM.
|