ZF-2013: Implement ArrayAccess to Zend_Db_Table_Row_Abstract

Description

I'd like to be able to use array access instead of object access sometimes:

$row = $Users->findRow(1);
echo $row['user']; // instead of echo $row->user;

Comments

Assigned to Bill

Attaching a patch that makes Zend_Db_Table_Row_Abstract implement ArrayAccess.

Please categorize/fix as needed.

This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Resolved as duplicate.

Re-opening this issue... it's not a duplicate! This one's about Zend_Db_Table_Row, while the other is about Zend_Db_Table_Rowset

Resolved in rev. 11970. Waiting for unit tests to be fixed before closing the issue.

Changing issues in preparation for the 1.7.0 release.