summaryrefslogtreecommitdiff
path: root/framework/Collections/TList.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Collections/TList.php')
-rw-r--r--framework/Collections/TList.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php
index 891fd1b6..af9922d7 100644
--- a/framework/Collections/TList.php
+++ b/framework/Collections/TList.php
@@ -91,7 +91,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl
*/
public function getIterator()
{
- return new TListIterator($this->_d);
+ return new ArrayIterator( $this->_d );
}
/**
@@ -403,7 +403,8 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl
*
* TListIterator is used by TList. It allows TList to return a new iterator
* for traversing the items in the list.
- *
+ *
+ * @deprecated Issue 264 : ArrayIterator should be used instead
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id$
* @package System.Collections