The camelCaps stuff has been removed.  Might want to file an issue concerning
the documentation.  Perhaps read through the rest of it carefully and see if
any other mention of camels exist and then list them all.


Ivan Ruiz Gallego-2 wrote:
> 
> Hello,
> 
>  From the manual 
> (http://framework.zend.com/manual/en/zend.db.table.row.html):
> "Next, retrieve one record from the database using Zend_Db_Table::find() 
> with a single key, or by using Zend_Db_Table::fetchRow(). The returned 
> result will be a Zend_Db_Table_Row object where each property in the 
> object is a "camelCaps" name mapped to an "underscore_words" column name 
> from the table. E.g., "first_name" in the table will become "firstName" 
> in the object properties"
> 
> This is also the behavior I expected. Now I am using ZF 0.9.1, but I am 
> a very happy user of ZF since 0.1.0.
> 
> I have a simple load method. Surprisingly, the conversion between 
> "underscore_words" (table field "folder_id") and "camelCaps" (object 
> attribute "folderId") does not happen, i.e. the Zend_Db_Table_Row object 
> has a property "folder_id", but not "folderId".
> 
> Is the former behavior now something that has to be explicitly 
> configured? Or is this former behavior simply not present in ZF 0.9.1?
> 
> Thank you very much.
> 
> Best regards,
> Ivan.
> 
> -- 
> Loglan GmbH
> Ivan Ruiz Gallego
> 
> Binzmühlestrasse 210
> 8050 Zürich
> Switzerland
> 
> Office +41 44 310 19 20
> Mobile +41 76 321 23 68
> Net www.loglan.net
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Zend_Db_Table_Row%3A-%22underscore_words%22-to-%22camelCaps%22-conversion-tf3478750s16154.html#a9713896
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to