summaryrefslogtreecommitdiff
path: root/framework/Collections
diff options
context:
space:
mode:
authorjavalizard <>2010-04-18 14:03:39 +0000
committerjavalizard <>2010-04-18 14:03:39 +0000
commit9ff7c85458ad95fb6506f162f71cc15e6909ded1 (patch)
tree96691aecb710ecf4cfc90cf38538059ab8cda715 /framework/Collections
parent678f2a9c708ee0c61589817fde3a77ac4c199d3a (diff)
Updated the insertBefore/After docs
Diffstat (limited to 'framework/Collections')
-rw-r--r--framework/Collections/TList.php4
1 files changed, 2 insertions, 2 deletions
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)