From c3a72002383cb3de9bdcff09214bb757b2bc5e46 Mon Sep 17 00:00:00 2001 From: knut <> Date: Wed, 30 May 2007 23:27:00 +0000 Subject: fixing small typos in the API documentation --- framework/Collections/TList.php | 4 ++-- framework/Collections/TPagedList.php | 6 +++--- framework/Collections/TQueue.php | 1 + framework/Collections/TStack.php | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) (limited to 'framework/Collections') 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 @@ * * * @author Qiang Xue + * @author Knut Urdalen * @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) -- cgit v1.2.3