From 9ff7c85458ad95fb6506f162f71cc15e6909ded1 Mon Sep 17 00:00:00 2001 From: javalizard <> Date: Sun, 18 Apr 2010 14:03:39 +0000 Subject: Updated the insertBefore/After docs --- framework/Collections/TList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Collections') diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php index f3e2953d..8d9fd033 100644 --- a/framework/Collections/TList.php +++ b/framework/Collections/TList.php @@ -248,7 +248,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl * Finds the base item. If found, the item is inserted before it. * @param mixed the base item which will be pushed back by the second parameter * @param mixed the item - * @return object $this. null if the $baseitem is not found + * @return int the index where the item is inserted * @since 3.2a */ public function insertBefore($baseitem, $item) @@ -265,7 +265,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl * Finds the base item. If found, the item is inserted after it. * @param mixed the base item which comes before the second parameter when added to the list * @param mixed the item - * @return object $this. null if the $baseitem is not found + * @return int the index where the item is inserted * @since 3.2a */ public function insertAfter($baseitem, $item) -- cgit v1.2.3