PHP Classes

Nested set: Manipulate a tree node structure stored in MySQL

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 1,872 This week: 1All time: 2,106 This week: 89Up
Version License PHP version Categories
nestedset 0.6GNU Lesser Genera...5.0HTML, PHP 5, Databases, Data types
Description 

Author

This class can be used to manipulate an hierarchical tree of node stored in a MySQL database table.

It can perform several types of operations to manipulate database records that represent the nodes the tree.

Currently it can create the root node, insert a node, retrieve a node, retrieve the tree of nodes, display the tree as nested HTML lists, delete a node, get the path of the parents of a node and move nodes to the left or the right.

Picture of Mark Stuppacher
Name: Mark Stuppacher <contact>
Classes: 1 package by
Country: Austria Austria
Age: 33
All time rank: 157114 in Austria Austria
Week rank: 91 Up1 in Austria Austria Up

  Files folder image Files  
File Role Description
Plain text file nestedset.class.php Class Nestedset class
Accessible without login Plain text file tableStructure.sql Data Structure of database table
Accessible without login HTML file NestedSet.html Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,872
This week:1
All time:2,106
This week:89Up
User Ratings User Comments (1)
 All time
Utility:90%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:60%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1274
 
Thanks
10 years ago (kostyanet)
70%StarStarStarStar