aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/tree/nestedset.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-30 14:36:26 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-30 14:36:26 +0200
commit863d0c7687cc926dfda0ddd20b34e7942748fb2e (patch)
tree982227aea4756a5107c4a04f8cbff292cd2847b5 /phpBB/includes/tree/nestedset.php
parent87e8e60d3c09c96a4495dda748673fb8b9078a3e (diff)
downloadforums-863d0c7687cc926dfda0ddd20b34e7942748fb2e.tar
forums-863d0c7687cc926dfda0ddd20b34e7942748fb2e.tar.gz
forums-863d0c7687cc926dfda0ddd20b34e7942748fb2e.tar.bz2
forums-863d0c7687cc926dfda0ddd20b34e7942748fb2e.tar.xz
forums-863d0c7687cc926dfda0ddd20b34e7942748fb2e.zip
[ticket/11495] Fix some more comments and the package tag
PHPBB3-11495
Diffstat (limited to 'phpBB/includes/tree/nestedset.php')
-rw-r--r--phpBB/includes/tree/nestedset.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/tree/nestedset.php b/phpBB/includes/tree/nestedset.php
index 7710895a25..ae9805aa45 100644
--- a/phpBB/includes/tree/nestedset.php
+++ b/phpBB/includes/tree/nestedset.php
@@ -1,7 +1,7 @@
<?php
/**
*
-* @package tree - nestedset
+* @package tree
* @copyright (c) 2013 phpBB Group
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
@@ -50,7 +50,7 @@ abstract class phpbb_tree_nestedset implements phpbb_tree_interface
protected $sql_where = '';
/**
- * List of item properties to be cached in $item_parents
+ * List of item properties to be cached in the item_parents column
* @var array
*/
protected $item_basic_data = array('*');
@@ -746,11 +746,11 @@ abstract class phpbb_tree_nestedset implements phpbb_tree_interface
* problems:
* - The set has a duplicated value inside the left/right id chain
* - The set has a missing value inside the left/right id chain
- * - The set has items that do not have a left/right is set
+ * - The set has items that do not have a left/right id set
*
* When regenerating the items, the items are sorted by parent id and their
* current left id, so the current child/parent relationships are kept
- * and running the function on a working set will not change any orders.
+ * and running the function on a working set will not change the order.
*
* @param int $new_id First left_id to be used (should start with 1)
* @param int $parent_id parent_id of the current set (default = 0)