diff options
author | javalizard <> | 2010-04-18 14:03:39 +0000 |
---|---|---|
committer | javalizard <> | 2010-04-18 14:03:39 +0000 |
commit | 9ff7c85458ad95fb6506f162f71cc15e6909ded1 (patch) | |
tree | 96691aecb710ecf4cfc90cf38538059ab8cda715 /framework/Collections | |
parent | 678f2a9c708ee0c61589817fde3a77ac4c199d3a (diff) |
Updated the insertBefore/After docs
Diffstat (limited to 'framework/Collections')
-rw-r--r-- | framework/Collections/TList.php | 4 |
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)
|