Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.10.4
-
Fix Version/s: 1.10.5
-
Component/s: Zend_Db_Table
-
Labels:None
Description
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.