PHP Classes

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

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

Author

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: 2533155 in Germany Germany
Week rank: 178 Up12 in Germany Germany Up

Screenshots (2)  
  • nested_set_administration_interface.png
  • preview_of_nested_set_administration_interface2.png
  Files folder image Files (19)  
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 (19)  /  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 (19)  /  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 (19)  /  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 (19)  /  doc  
File Role Description
  HTML file class.nestedset.html Doc. phpDocumentor - Documentation

  Files folder image Files (19)  /  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 (19)  /  example_scripts  
File Role Description
  Plain text file print_a_breadcrumb.php Example How to print a Breadcrumb

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:877
This week:0
All time:4,013
This week:61Up