PHP Classes

Codeigniter Hybrid Data Structure: Manage hierarchical elements in a database

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 450 All time: 6,169 This week: 138Up
Version License PHP version Categories
hybrid-structure 1.0MIT/X Consortium ...5.0PHP 5, Databases, Tools, Data types
Description 

Author

This class can manage hierarchical elements in a database.

It can manage a hierarchy of data items stored in a database using nested sets.

The class can perform item tree manipulation operations like initializing a tree with the first node, inserting a root node, prepend a new tree, delete a node, get nodes that matches a condition, move nodes to a different parent node, etc..

The database access is done using CodeIgniter active record classes.

The class can configure the table where the item records are stored, as well the name of the left and right table fields, parent field and the table primary key.

Picture of Martin Andreev
  Performance   Level  
Name: Martin Andreev <contact>
Classes: 1 package by
Country: Bulgaria Bulgaria
Age: 32
All time rank: 339723 in Bulgaria Bulgaria
Week rank: 312 Up4 in Bulgaria Bulgaria Up

  Files folder image Files  
File Role Description
Plain text file NestedSet.php Class This is the main class file
Plain text file Example.php Class This is an examle on how to use this file.

 Version Control Unique User Downloads Download Rankings  
 0%
Total:450
This week:0
All time:6,169
This week:138Up