aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/nestedset/interface.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-25 13:48:19 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-25 13:48:19 +0200
commitab7054445fbf397ae5bf4c13eb44a2019d71cc2d (patch)
treebee136b7ebddf1ee18e33c232f9899e92087c53d /phpBB/includes/nestedset/interface.php
parent3efae6d8af6dfe22c0790d3004fdbf20eb16a292 (diff)
downloadforums-ab7054445fbf397ae5bf4c13eb44a2019d71cc2d.tar
forums-ab7054445fbf397ae5bf4c13eb44a2019d71cc2d.tar.gz
forums-ab7054445fbf397ae5bf4c13eb44a2019d71cc2d.tar.bz2
forums-ab7054445fbf397ae5bf4c13eb44a2019d71cc2d.tar.xz
forums-ab7054445fbf397ae5bf4c13eb44a2019d71cc2d.zip
[ticket/11495] Rename set_parent to change_parent()
PHPBB3-11495
Diffstat (limited to 'phpBB/includes/nestedset/interface.php')
-rw-r--r--phpBB/includes/nestedset/interface.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/nestedset/interface.php b/phpBB/includes/nestedset/interface.php
index 9a8f9c4eea..a2dbc55c7d 100644
--- a/phpBB/includes/nestedset/interface.php
+++ b/phpBB/includes/nestedset/interface.php
@@ -95,13 +95,15 @@ interface phpbb_nestedset_interface
public function move_children($current_parent_id, $new_parent_id);
/**
- * Set the parent item
+ * Change parent item
+ *
+ * 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
* @return bool True if the parent was set successfully
*/
- public function set_parent($item, $new_parent_id);
+ public function change_parent($item, $new_parent_id);
/**
* Get branch of the item