ZF-180: Zend_Db_Table_Row: __get function maps incorrectly to _data
I am unsure whether this is a problem with the pdo fetch function or if the problem is in the Zend_Db_Table_Row class. I'm guessing the first since I see that if you don't supply a data index in the config parameter to the constructor you use the array keys from $this->_info['cols'] as keys for the $this->_data member.
I changed the __get function to look for $camel in $this->_data instead of $under to get it to work, but it seems my array keys in $this->_data member is messed up: Shouldn't _data contain array('ID' => 35, 'FirmaID' => 0) ?
Zend_Db_Table_Row Object ( [_data:protected] => Array ( [id] => 35 [firmaid] => 0 ... ) [_info:protected] => Array ( [name] => cPerson [cols] => Array ( [ID] => id [FirmaID] => firmaid ... ) [primary] => ID ) )