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. |