Login   Register  
PHP Classes
elePHPant
Icontem

Nested Set DB Table: Manage nested sets of data stored 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 (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-08-17 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 822 This week: 1All time: 3,891 This week: 1,398Up
Version License PHP version Categories  
nested-set-db-table 2.0GNU General Public Lice...5.0PHP 5, Databases, Data types
Description Author  

This package can be used to manage nested sets of data stored in a database.

It can create and manage an hierarchy of nodes in a database table allowing to retrieve, add, update and delete nodes.

Developers should extend this class in order to use its functionality. Properties $_name (name of the table), $_primary (name of the primary key), $_left (left column name in nested table) and $_right (right column name in nested table) must be overrriden in the extending class and filled with appropriate values.

PDO instance must be supplied to the object of this class in order to use it.

Picture of Nikola Posa
Name: Nikola Posa <contact>
Classes: 4 packages by
Country: Serbia Serbia
Age: 27
All time rank: 9196 in Serbia Serbia
Week rank: 1077 Down6 in Serbia Serbia Equal

  Files folder image Files  
File Role Description
Files folder imagelibs (1 directory)
Accessible without login Plain text file LICENSE.txt Lic. License file.
Accessible without login Plain text file README.txt Doc. Readme file.

  Files folder image Files  /  libs  
File Role Description
Files folder imageNestedSetDbTable (2 files)

  Files folder image Files  /  libs  /  NestedSetDbTable  
File Role Description
  Plain text file Abstract.php Class Abstract class that provides API for managing Nested set database table.
  Plain text file Exception.php Class Exception in NestedSetDbTable package

 Version Control Unique User Downloads Download Rankings  
 0%Total:822All time:3,891
 This week:1This week:1,398Up