-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Issue: http://framework.zend.com/issues/browse/ZF-1214
Is there an example for using the new "hook"? I don't want to rename all the column-names which are actually written in camelCaps, so I created these classes: class Flabben_Db_Table extends Zend_Db_Table { protected $_rowClass = 'Flabben_Db_Table_Row'; protected $_rowClass = 'Flabben_Db_Table_Rowset'; } class Flabben_Db_Table_Row extends Zend_Db_Table_Row { protected function _transformColumn($key) { // transform "foo_bar" to "fooBar" } } class Flabben_Db_Table_Rowset extends Zend_Db_Table_Rowset {} Now I have a Model which extends my Flabben_Db_Table_Row class. class Flabben_Entry extends Flabben_Db_Table_Row {} But if I create a new instance of Flabben_Entry ($oEntry = new Flabben_Entry(1)) i can't get value by "fooBar" nor "foo_bar". Flabben_Entry::_data contains an array with underscored key names. Where is the mistake? - -- Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGGRxnd3s9o1H9MZ4RA2PrAJ45gI/xbDIMoclJz8pYKeh5J0TCJQCfQBqi Cmku3v67gV+drvR8X1eJEu4= =II8M -----END PGP SIGNATURE-----