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
StarStarStarStar 65%Total: 1,871 All time: 2,107 This week: 176Up
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: 157014 in Austria Austria
Week rank: 398 Up3 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,871
This week:0
All time:2,107
This week:176Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:62%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:780
 
Thanks
10 years ago (kostyanet)
70%StarStarStarStar