diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-04-25 13:09:00 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-04-25 13:09:00 +0200 |
commit | 61e72d3a1000c48146466305c6693595324f5282 (patch) | |
tree | ebd38a034ba1bc98795f9b82f2c1b4666c7a8ef7 /phpBB | |
parent | e8b192fa32a4e7bba6d772075eb430424d0c4750 (diff) | |
download | forums-61e72d3a1000c48146466305c6693595324f5282.tar forums-61e72d3a1000c48146466305c6693595324f5282.tar.gz forums-61e72d3a1000c48146466305c6693595324f5282.tar.bz2 forums-61e72d3a1000c48146466305c6693595324f5282.tar.xz forums-61e72d3a1000c48146466305c6693595324f5282.zip |
[ticket/11495] Explain move() more
An item is only moved up/down within the same parent. If the delta is larger
then the number of children, the item is moved to the top/bottom of the list
of children within this parent.
PHPBB3-11495
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/nestedset/interface.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/nestedset/interface.php b/phpBB/includes/nestedset/interface.php index aedd57821a..b8a2e4b239 100644 --- a/phpBB/includes/nestedset/interface.php +++ b/phpBB/includes/nestedset/interface.php @@ -56,6 +56,10 @@ interface phpbb_nestedset_interface /** * Move an item by a given delta * + * An item is only moved up/down within the same parent. If the delta is + * larger then the number of children, the item is moved to the top/bottom + * of the list of children within this parent. + * * @param int $item_id The item to be moved * @param int $delta Number of steps to move this item, < 0 => down, > 0 => up * @return bool True if the item was moved |