aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/tree/interface.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-30 14:12:45 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-30 14:12:45 +0200
commit87e8e60d3c09c96a4495dda748673fb8b9078a3e (patch)
tree335651317d2a45638247ecbee7c00256b5ac2387 /phpBB/includes/tree/interface.php
parent67f2edae170576104e619ffb38672cabf44e20fa (diff)
downloadforums-87e8e60d3c09c96a4495dda748673fb8b9078a3e.tar
forums-87e8e60d3c09c96a4495dda748673fb8b9078a3e.tar.gz
forums-87e8e60d3c09c96a4495dda748673fb8b9078a3e.tar.bz2
forums-87e8e60d3c09c96a4495dda748673fb8b9078a3e.tar.xz
forums-87e8e60d3c09c96a4495dda748673fb8b9078a3e.zip
[ticket/11495] Correctly distinguish between children and descendants
PHPBB3-11495
Diffstat (limited to 'phpBB/includes/tree/interface.php')
-rw-r--r--phpBB/includes/tree/interface.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/tree/interface.php b/phpBB/includes/tree/interface.php
index e09fcea4fa..5e43478e22 100644
--- a/phpBB/includes/tree/interface.php
+++ b/phpBB/includes/tree/interface.php
@@ -65,9 +65,9 @@ interface phpbb_tree_interface
public function move_up($item_id);
/**
- * Moves all descendants of one item to another item
+ * Moves all children of one item to another item
*
- * If the new parent already has descendants, the new descendants are appended
+ * If the new parent already has children, the new children are appended
* to the list.
*
* @param int $current_parent_id The current parent item
@@ -79,7 +79,7 @@ interface phpbb_tree_interface
/**
* Change parent item
*
- * Moves the item to the bottom of the new parent's subtree
+ * Moves the item to the bottom of the new parent's list of children
*
* @param int $item_id The item to be moved
* @param int $new_parent_id The new parent item
@@ -88,7 +88,7 @@ interface phpbb_tree_interface
public function change_parent($item_id, $new_parent_id);
/**
- * Get all items that are either an ancestors or descendants of the item
+ * Get all items that are either ancestors or descendants of the item
*
* @param int $item_id The item to get the ancestors/descendants from
* @param bool $order_asc Order the items ascending (most outer ancestor first)