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    
Last Updated Ratings Unique User Downloads Download Rankings
2014-06-27 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 417 All time: 6,200 This week: 652Up
Version License PHP version Categories
hybrid-structure 1.0MIT/X Consortium ...5.0PHP 5, Databases, Utilities and Tools, D...
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.

  Performance   Level  
Name: Martin Andreev <contact>
Classes: 1 package by
Country: Bulgaria Bulgaria
Age: 25
All time rank: 332624 in Bulgaria Bulgaria
Week rank: 1049 Up5 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  
This week:0
All time:6,200
This week:652Up