summaryrefslogtreecommitdiff
path: root/framework/Collections/TMap.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Collections/TMap.php')
-rw-r--r--framework/Collections/TMap.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php
index 56748ea2..51ed7b1c 100644
--- a/framework/Collections/TMap.php
+++ b/framework/Collections/TMap.php
@@ -80,7 +80,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
*/
public function getIterator()
{
- return new TMapIterator($this->_d);
+ return new ArrayIterator( $this->_d );
}
/**
@@ -272,6 +272,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
* TMapIterator is used by TMap. It allows TMap to return a new iterator
* for traversing the items in the map.
*
+ * @deprecated Issue 264 : ArrayIterator should be used instead
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id$
* @package System.Collections