|
@@ -32,7 +32,7 @@ require_once 'Zend/Db.php';
|
|
|
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
|
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
|
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
|
|
*/
|
|
*/
|
|
|
-abstract class Zend_Db_Table_Row_Abstract implements ArrayAccess
|
|
|
|
|
|
|
+abstract class Zend_Db_Table_Row_Abstract implements ArrayAccess, IteratorAggregate
|
|
|
{
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -642,6 +642,11 @@ abstract class Zend_Db_Table_Row_Abstract implements ArrayAccess
|
|
|
return $result;
|
|
return $result;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public function getIterator()
|
|
|
|
|
+ {
|
|
|
|
|
+ return new ArrayIterator((array) $this->_data);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Returns the column/value data as an array.
|
|
* Returns the column/value data as an array.
|
|
|
*
|
|
*
|