phpbb/phpBB/includes/nestedset
Joas Schilling 4bff28a0ee [ticket/11495] Rename fix function to regenerate_left_right_ids()
This method regenerates the left/right ids for the nested set based on the
parent/child relations. This function executes three queries per item, so
it should only be called, when the set has one of the following 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

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.

PHPBB3-11495
2013-04-25 13:40:25 +02:00
..
base.php [ticket/11495] Rename fix function to regenerate_left_right_ids() 2013-04-25 13:40:25 +02:00
exception.php [ticket/11495] Add forum implementation of nestedset 2013-04-16 23:09:21 +02:00
forum.php [ticket/11495] Fix Spacing and lowercase on docs 2013-04-19 01:14:38 +02:00
interface.php [ticket/11495] Rename fix function to regenerate_left_right_ids() 2013-04-25 13:40:25 +02:00