summaryrefslogtreecommitdiff
path: root/framework/Collections
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Collections')
-rw-r--r--framework/Collections/TAttributeCollection.php6
-rw-r--r--framework/Collections/TDummyDataSource.php6
-rw-r--r--framework/Collections/TDummyDataSourceIterator.php6
-rw-r--r--framework/Collections/TList.php6
-rw-r--r--framework/Collections/TListItemCollection.php6
-rw-r--r--framework/Collections/TListIterator.php5
-rw-r--r--framework/Collections/TMap.php6
-rw-r--r--framework/Collections/TMapIterator.php6
-rw-r--r--framework/Collections/TPagedDataSource.php6
-rw-r--r--framework/Collections/TPagedList.php6
-rw-r--r--framework/Collections/TPagedListFetchDataEventParameter.php6
-rw-r--r--framework/Collections/TPagedListIterator.php6
-rw-r--r--framework/Collections/TPagedListPageChangedEventParameter.php6
-rw-r--r--framework/Collections/TPagedMapIterator.php6
-rw-r--r--framework/Collections/TPriorityList.php6
-rw-r--r--framework/Collections/TPriorityMap.php6
-rw-r--r--framework/Collections/TQueue.php6
-rw-r--r--framework/Collections/TQueueIterator.php6
-rw-r--r--framework/Collections/TStack.php6
-rw-r--r--framework/Collections/TStackIterator.php6
20 files changed, 78 insertions, 41 deletions
diff --git a/framework/Collections/TAttributeCollection.php b/framework/Collections/TAttributeCollection.php
index 775ad054..818d98d8 100644
--- a/framework/Collections/TAttributeCollection.php
+++ b/framework/Collections/TAttributeCollection.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* Includes TMap class
*/
@@ -37,7 +39,7 @@ Prado::using('System.Collections.TMap');
* in the collection storage.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TAttributeCollection extends TMap
diff --git a/framework/Collections/TDummyDataSource.php b/framework/Collections/TDummyDataSource.php
index a0578ead..479a0e8f 100644
--- a/framework/Collections/TDummyDataSource.php
+++ b/framework/Collections/TDummyDataSource.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TDummyDataSource class
*
@@ -21,7 +23,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TDummyDataSource extends TComponent implements IteratorAggregate, Countable
diff --git a/framework/Collections/TDummyDataSourceIterator.php b/framework/Collections/TDummyDataSourceIterator.php
index d9829a55..4934fa7f 100644
--- a/framework/Collections/TDummyDataSourceIterator.php
+++ b/framework/Collections/TDummyDataSourceIterator.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TDummyDataSourceIterator class
*
@@ -19,7 +21,7 @@
* for traversing its dummy items.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TDummyDataSourceIterator implements Iterator
diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php
index f4b83036..04cbd772 100644
--- a/framework/Collections/TList.php
+++ b/framework/Collections/TList.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TList class
*
@@ -31,7 +33,7 @@
* operation, override {@link insertAt()}, and {@link removeAt()}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countable
diff --git a/framework/Collections/TListItemCollection.php b/framework/Collections/TListItemCollection.php
index 90a1fbf1..bb71c85d 100644
--- a/framework/Collections/TListItemCollection.php
+++ b/framework/Collections/TListItemCollection.php
@@ -8,9 +8,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* Includes the supporting classes
*/
@@ -23,7 +25,7 @@ Prado::using('System.Web.UI.WebControls.TListItem');
* TListItemCollection maintains a list of {@link TListItem} for {@link TListControl}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TListItemCollection extends TList
diff --git a/framework/Collections/TListIterator.php b/framework/Collections/TListIterator.php
index 3234d1ac..b810d5dd 100644
--- a/framework/Collections/TListIterator.php
+++ b/framework/Collections/TListIterator.php
@@ -6,9 +6,10 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
/**
* TListIterator class
@@ -20,7 +21,7 @@
*
* @deprecated Issue 264 : ArrayIterator should be used instead
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TListIterator implements Iterator
diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php
index fe30b932..d06028e0 100644
--- a/framework/Collections/TMap.php
+++ b/framework/Collections/TMap.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TMap class
*
@@ -27,7 +29,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
diff --git a/framework/Collections/TMapIterator.php b/framework/Collections/TMapIterator.php
index 238441a3..a2b813d7 100644
--- a/framework/Collections/TMapIterator.php
+++ b/framework/Collections/TMapIterator.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TMapIterator class
*
@@ -19,7 +21,7 @@
*
* @deprecated Issue 264 : ArrayIterator should be used instead
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TMapIterator implements Iterator
diff --git a/framework/Collections/TPagedDataSource.php b/framework/Collections/TPagedDataSource.php
index b888348e..db929048 100644
--- a/framework/Collections/TPagedDataSource.php
+++ b/framework/Collections/TPagedDataSource.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TPagedDataSource class
*
@@ -23,7 +25,7 @@
* within the specified page will be returned and traversed.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TPagedDataSource extends TComponent implements IteratorAggregate,Countable
diff --git a/framework/Collections/TPagedList.php b/framework/Collections/TPagedList.php
index 2b349413..f62942c8 100644
--- a/framework/Collections/TPagedList.php
+++ b/framework/Collections/TPagedList.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TPagedList class
*
@@ -50,7 +52,7 @@
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TPagedList extends TList
diff --git a/framework/Collections/TPagedListFetchDataEventParameter.php b/framework/Collections/TPagedListFetchDataEventParameter.php
index ea91f775..a805ab87 100644
--- a/framework/Collections/TPagedListFetchDataEventParameter.php
+++ b/framework/Collections/TPagedListFetchDataEventParameter.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TPagedListFetchDataEventParameter class.
*
@@ -21,7 +23,7 @@
* Newly fetched data should be saved in {@link setData Data} property.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TPagedListFetchDataEventParameter extends TEventParameter
diff --git a/framework/Collections/TPagedListIterator.php b/framework/Collections/TPagedListIterator.php
index 8a2166cb..e63f9a22 100644
--- a/framework/Collections/TPagedListIterator.php
+++ b/framework/Collections/TPagedListIterator.php
@@ -6,10 +6,10 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
-
+namespace Prado\Collections;
/**
* TPagedListIterator class
@@ -20,7 +20,7 @@
* to return a new iterator for traversing the items in a {@link TList} object.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TPagedListIterator implements Iterator
diff --git a/framework/Collections/TPagedListPageChangedEventParameter.php b/framework/Collections/TPagedListPageChangedEventParameter.php
index 9b9f500e..476f2b05 100644
--- a/framework/Collections/TPagedListPageChangedEventParameter.php
+++ b/framework/Collections/TPagedListPageChangedEventParameter.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TPagedListPageChangedEventParameter class.
* TPagedListPageChangedEventParameter is used as the parameter for
@@ -16,7 +18,7 @@
* To obtain the page index before it was changed, use {@link getOldPageIndex OldPageIndex}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TPagedListPageChangedEventParameter extends TEventParameter
diff --git a/framework/Collections/TPagedMapIterator.php b/framework/Collections/TPagedMapIterator.php
index c5a078c1..be223f50 100644
--- a/framework/Collections/TPagedMapIterator.php
+++ b/framework/Collections/TPagedMapIterator.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TPagedMapIterator class
*
@@ -18,7 +20,7 @@
* to return a new iterator for traversing the items in a {@link TMap} object.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TPagedMapIterator implements Iterator
diff --git a/framework/Collections/TPriorityList.php b/framework/Collections/TPriorityList.php
index 6a66b5be..53486f45 100644
--- a/framework/Collections/TPriorityList.php
+++ b/framework/Collections/TPriorityList.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TPriorityList class
*
@@ -42,7 +44,7 @@
* override {@link insertAtIndexInPriority()} and {@link removeAtIndexInPriority()} and then call the parent.
*
* @author Brad Anderson <javalizard@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.2a
*/
class TPriorityList extends TList
diff --git a/framework/Collections/TPriorityMap.php b/framework/Collections/TPriorityMap.php
index 352e56ff..7cdde7f0 100644
--- a/framework/Collections/TPriorityMap.php
+++ b/framework/Collections/TPriorityMap.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TPriorityMap class
*
@@ -50,7 +52,7 @@
* the decimal space. See {@link round}.
*
* @author Brad Anderson <javalizard@mac.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.2a
*/
Prado::using('System.Collections.TMap');
diff --git a/framework/Collections/TQueue.php b/framework/Collections/TQueue.php
index 824a7e5f..bde43bfa 100644
--- a/framework/Collections/TQueue.php
+++ b/framework/Collections/TQueue.php
@@ -7,9 +7,11 @@
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TQueue class
*
@@ -29,7 +31,7 @@
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Knut Urdalen <knut.urdalen@gmail.com>
* @version $Id$
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.1
*/
class TQueue extends TComponent implements IteratorAggregate,Countable
diff --git a/framework/Collections/TQueueIterator.php b/framework/Collections/TQueueIterator.php
index 29a973d1..395c1050 100644
--- a/framework/Collections/TQueueIterator.php
+++ b/framework/Collections/TQueueIterator.php
@@ -7,9 +7,11 @@
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TQueueIterator class
*
@@ -20,7 +22,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id$
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.1
*/
class TQueueIterator implements Iterator
diff --git a/framework/Collections/TStack.php b/framework/Collections/TStack.php
index cb98e604..3c903e7e 100644
--- a/framework/Collections/TStack.php
+++ b/framework/Collections/TStack.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TStack class
*
@@ -26,7 +28,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TStack extends TComponent implements IteratorAggregate,Countable
diff --git a/framework/Collections/TStackIterator.php b/framework/Collections/TStackIterator.php
index 48b7c75f..1ebc2ccd 100644
--- a/framework/Collections/TStackIterator.php
+++ b/framework/Collections/TStackIterator.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Collections
+ * @package Prado\Collections
*/
+namespace Prado\Collections;
+
/**
* TStackIterator class
*
@@ -19,7 +21,7 @@
*
* @deprecated Issue 264 : ArrayIterator should be used instead
* @author Qiang Xue <qiang.xue@gmail.com>
- * @package System.Collections
+ * @package Prado\Collections
* @since 3.0
*/
class TStackIterator implements Iterator