PHP Classes

Loomis` Nested Set: Manage a tree of information stored in a database

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 877 All time: 4,011 This week: 61Up
Version License PHP version Categories
loomis-nestedset 1.1GNU General Publi...5.0PHP 5, Databases


This class can be used to manage a tree of information stored in a database.

It can perform several types of operations to manipulate an hierarchy of nodes that are stored in a database as table records.

Currently it can insert a root node, insert a node that is child of a given parent, delete a branch of nodes under a given node, delete a single node, rename a node, move nodes, check whether the root node exists and retrieve the whole tree of nodes.

Support of a Multi-Language Errorhandling.

Picture of Tobias Breunig
Name: Tobias Breunig <contact>
Classes: 1 package by
Country: Germany Germany
Age: 42
All time rank: 2531155 in Germany Germany
Week rank: 305 Up15 in Germany Germany Up

  • nested_set_administration_interface.png
  • preview_of_nested_set_administration_interface2.png
  Files folder image Files  
File Role Description
Files folder imageexample (1 file, 1 directory)
Files folder imagedoc (1 file)
Files folder imageexample_scripts (1 file)
Files folder imagemessages (2 files)
Plain text file class.nestedset.php Class The Nested Set Base Class
Plain text file class.database.php Class My little Helper Class, that i use in every Project.

  Files folder image Files  /  example  
File Role Description
Files folder imagemanager (1 file, 1 directory)
  Plain text file mysql_example Data An example MySQL statement for a Nested Set Table

  Files folder image Files  /  example  /  manager  
File Role Description
Files folder imagehtml (2 files, 1 directory)
  Plain text file index.php Example The Admin Interface Script

  Files folder image Files  /  example  /  manager  /  html  
File Role Description
Files folder imageico (7 files)
  Plain text file tree_manager.tpl Example Example HTML Template for the Admin Interface
  Plain text file base.css Example Example of Css File

  Files folder image Files  /  doc  
File Role Description
  HTML file class.nestedset.html Doc. phpDocumentor - Documentation

  Files folder image Files  /  example  /  manager  /  html  /  ico  
File Role Description
  Image file del.gif Icon Delete Icon
  Image file delch.gif Icon Delete (+childs) Icon
  Image file down.gif Icon Move Down Icon
  Image file f.gif Icon Folder Icon
  Image file lft.gif Icon Move Lft Icon
  Image file rgt.gif Icon Move Rgt Icon
  Image file up.gif Icon Move Up Icon

  Files folder image Files  /  example_scripts  
File Role Description
  Plain text file print_a_breadcrumb.php Example How to print a Breadcrumb

  Files folder image Files  /  messages  
File Role Description
  Plain text file de.php Example German language File
  Plain text file en.php Example English Language File

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,011
This week:61Up