summaryrefslogtreecommitdiff
path: root/framework/Collections
diff options
context:
space:
mode:
authorknut <>2007-05-30 23:27:00 +0000
committerknut <>2007-05-30 23:27:00 +0000
commitc3a72002383cb3de9bdcff09214bb757b2bc5e46 (patch)
tree9c8c1fa0f4d83e38c46ba4485f849a2f5d218311 /framework/Collections
parentf71f9562d2ed0839f48bbf1bda7a80d0bc157778 (diff)
fixing small typos in the API documentation
Diffstat (limited to 'framework/Collections')
-rw-r--r--framework/Collections/TList.php4
-rw-r--r--framework/Collections/TPagedList.php6
-rw-r--r--framework/Collections/TQueue.php1
-rw-r--r--framework/Collections/TStack.php2
4 files changed, 7 insertions, 6 deletions
diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php
index e646e203..44255957 100644
--- a/framework/Collections/TList.php
+++ b/framework/Collections/TList.php
@@ -56,7 +56,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl
/**
* Constructor.
* Initializes the list with an array or an iterable object.
- * @param array|Iterator the intial data. Default is null, meaning no initialization.
+ * @param array|Iterator the initial data. Default is null, meaning no initialization.
* @param boolean whether the list is read-only
* @throws TInvalidDataTypeException If data is not null and neither an array nor an iterator.
*/
@@ -141,7 +141,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl
* Inserts an item at the specified position.
* Original item at the position and the next items
* will be moved one step towards the end.
- * @param integer the speicified position.
+ * @param integer the specified position.
* @param mixed new item
* @throws TInvalidDataValueException If the index specified exceeds the bound
* @throws TInvalidOperationException if the list is read-only
diff --git a/framework/Collections/TPagedList.php b/framework/Collections/TPagedList.php
index e31dfe80..978abf05 100644
--- a/framework/Collections/TPagedList.php
+++ b/framework/Collections/TPagedList.php
@@ -76,7 +76,7 @@ class TPagedList extends TList
/**
* Constructor.
- * @param array|Iterator the intial data. Default is null, meaning no initialization.
+ * @param array|Iterator the initial data. Default is null, meaning no initialization.
* @param boolean whether the list is read-only. Always true for paged list.
*/
public function __construct($data=null,$readOnly=false)
@@ -205,7 +205,7 @@ class TPagedList extends TList
/**
* Switches to the next page.
- * @return integer|boolean the new page index, false if next page is not availabe.
+ * @return integer|boolean the new page index, false if next page is not available.
*/
public function nextPage()
{
@@ -214,7 +214,7 @@ class TPagedList extends TList
/**
* Switches to the previous page.
- * @return integer|boolean the new page index, false if previous page is not availabe.
+ * @return integer|boolean the new page index, false if previous page is not available.
*/
public function previousPage()
{
diff --git a/framework/Collections/TQueue.php b/framework/Collections/TQueue.php
index 025fa6d0..8f0b1ebb 100644
--- a/framework/Collections/TQueue.php
+++ b/framework/Collections/TQueue.php
@@ -27,6 +27,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
+ * @author Knut Urdalen <knut.urdalen@gmail.com>
* @version $Id$
* @package System.Collections
* @since 3.1
diff --git a/framework/Collections/TStack.php b/framework/Collections/TStack.php
index 66f69f6c..1f18d60c 100644
--- a/framework/Collections/TStack.php
+++ b/framework/Collections/TStack.php
@@ -47,7 +47,7 @@ class TStack extends TComponent implements IteratorAggregate,Countable
/**
* Constructor.
* Initializes the stack with an array or an iterable object.
- * @param array|Iterator the intial data. Default is null, meaning no initialization.
+ * @param array|Iterator the initial data. Default is null, meaning no initialization.
* @throws TInvalidDataTypeException If data is not null and neither an array nor an iterator.
*/
public function __construct($data=null)