summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/Collections/TQueue.php4
-rw-r--r--framework/Exceptions/messages.txt8
2 files changed, 9 insertions, 3 deletions
diff --git a/framework/Collections/TQueue.php b/framework/Collections/TQueue.php
index 2c75c48e..e58d05c6 100644
--- a/framework/Collections/TQueue.php
+++ b/framework/Collections/TQueue.php
@@ -29,7 +29,7 @@
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Revision: $ $Date: $
* @package System.Collections
- * @since 3.0
+ * @since 3.1
*/
class TQueue extends TComponent implements IteratorAggregate
{
@@ -173,7 +173,7 @@ class TQueue extends TComponent implements IteratorAggregate
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Revision: $ $Date: $
* @package System.Collections
- * @since 3.0
+ * @since 3.1
*/
class TQueueIterator implements Iterator
{
diff --git a/framework/Exceptions/messages.txt b/framework/Exceptions/messages.txt
index a7a5c724..bb6436c3 100644
--- a/framework/Exceptions/messages.txt
+++ b/framework/Exceptions/messages.txt
@@ -283,4 +283,10 @@ parametermodule_parameterid_required = Parameter element must have 'id' attribut
datagridcolumn_expression_invalid = {0} is evaluating an invalid expression '{1}' : {2}
-outputcache_duration_invalid = {0}.Duration must be an integer no less than 0. \ No newline at end of file
+outputcache_duration_invalid = {0}.Duration must be an integer no less than 0.
+
+stack_data_not_iterable = TStack can only fetch data from an array or a traversable object.
+stack_empty = TStack is empty.
+
+queue_data_not_iterable = TQueue can only fetch data from an array or a traversable object.
+queue_empty = TQueue is empty. \ No newline at end of file