The current implementation takes names_like_this and camelCases them to namesLikeThis.   The field name is lower-cased before the camelCasing happens.  There is a bug logged and my understanding is that this will be removed from the code base eventually.

 

Trevor

 


From: Claus Jul Larsen & Anne Smed Nielsen [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 14, 2006 12:07 PM
To: [email protected]
Subject: [fw-general] Zend_Db and lower cased field names

 

Hello Zenders

 

I’m new to ZF and have an question.

 

If I use the Zend_Db and get the rows by fetchAll why are the fields in the array fetched by fetchAll($sql) lowercased? If a field in the table is named eg Name, the associtaive part is named ’name’. Any reason to this?

 

Regards

 

Claus Jul Larsen, Denmark

Reply via email to