Login   Register  
PHP Classes

MemNestedSet: Manage a nested set of elements stored in arrays

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Alan H. Lake
Name: Alan H. Lake <e-mail contact>
Packages: 3 Browse all classes by Alan H. Lake Browse all classes by
Country: Finland Finland - PHP jobs in Finland
Age: 72
All time rank: 10913 in Finland Finland
Week rank: 420 Up2 in Finland Finland Up
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz  
This class can be used to manage a nested set of elements stored in arrays.

It can manage an hierarchic tree of elements stored as array.

The class can perform several types of operations to store and retrieve the tree elements like:

- Creating the tree structure from a string with the definition of the elements.
- Set the values of tree elements given its path in the tree
- Get elements that have a given tree path
- Return a graph with the representation of the elements in tree

  Classes of Alan H. Lake  >  MemNestedSet  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: MemNestedSet
Base name: nestedsetarray
Description: Manage a nested set of elements stored in arrays
Version: 3
PHP version: 5.1
License: GNU General Public License (GPL)
All time users: 553 users
All time rank: 4886
Week users: 1 user
Week rank: 1884 Up
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

Group folder image Data types Modeling and manipulating data types View top rated classes

  Files folder image Screenshots  
nested set string and show
File Role Description
Accessible without login Image file nested_set_in_memory.jpg Screen nested set string and show

  Innovation Award  
PHP Programming Innovation award nominee
September 2008
Number 4

Prize: One book of choice from Manning
A nested set is usually associated to a method created by Joe Celko to store hierarchic data structures in a relational database in a way that is more efficient to perform several types of operations to store and retrieve nodes in a tree structure.

This class provides an implementation of nested set manipulation stored in the memory as array nodes.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file change_log.txt Doc. A change log for the class
Plain text file LICENSE.txt Lic. License
Plain text file nested_set_mem.php Class MemNestedSet class
Plain text file README Doc. Documentation
Plain text file test_nested_set_mem.php Test Test MemNestedSet

Download Download all files: nestedsetarray.tar.gz nestedsetarray.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.