PHP Classes

Codeigniter Hybrid Data Structure: Manage hierarchical elements in a database

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 451 All time: 6,173 This week: 455Up
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: 340223 in Bulgaria Bulgaria
Week rank: 200 Up2 in Bulgaria Bulgaria Up

  Files folder image Files (2)  
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.

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:451
This week:0
All time:6,173
This week:455Up