Login   Register  
PHP Classes
elePHPant
Icontem

Codeigniter Hybrid Data Structure: Manage hierarchical elements in a database

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 316 This week: 6All time: 6,513 This week: 235Up
Version License PHP version Categories  
hybrid-structure 1.0MIT/X Consortium License5.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.

Picture of Martin Andreev
Name: Martin Andreev <contact>
Classes: 1 package by
Country: Bulgaria Bulgaria
Age: 22
All time rank: 337824 in Bulgaria Bulgaria
Week rank: 305 Up2 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:316All time:6,513
 This week:6This week:235Up