ZF-9836: Zend_Db_Table_Row_Abstract objects should be iterable/traversable


Categorized as bug since there are various serialization routines in ZF that would like to be able to introspect Row objects.

Because Zend_Db_Table_Row_Abstract cannot be iterated over in a foreach loop the serializer cannot make the column values available to Flash Builder and as such, Flash Builder cannot introspect the classes.

To fix the issue Zend_Db_Table_Row_Abstract needs to implement IteratorAggregate (Thanks Ralph) so the AMF serializer can work properly, along with the getIterator code:

public function getIterator() 
    return new ArrayIterator($this->_data);


Updated title and description.

Fixed in r22229 in trunk and r22230 in branch 1.10