Login   Register  
PHP Classes
elePHPant
Icontem

pTree: Manipulate hierarchical data structures like trees

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 (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-02-24 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,915 All time: 1,929 This week: 1,542Up
Version License Categories  
ptree 1.0.0Free for non-commercial...PHP 5, Data types
Description Author  

This class provides classes that abstract an hierarchical data structures like trees.

There is one class for abstracting trees and another for tree nodes. These classes are expected to be extended by sub-classes in concrete applications.

The tree node class has functions for adding and removing children nodes, setting and getting the node value, name and comment, and serializing and serializing the node structure into a string.

The tree class is itself a sub-class of the tree node class. Besides the functions inherited from the node class, it has functions for adding and removing nodes, retrieving the root node, among other functions to check the tree properties.

Picture of Guilherme Blanco
Name: Guilherme Blanco is available for providing paid consulting. Contact Guilherme Blanco .
Classes: 5 packages by
Country: Brazil Brazil
Age: 31
All time rank: 20614 in Brazil Brazil
Week rank: 744 Down67 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagedocs (4 files)
Plain text file class.pTree.php Class Class File
Accessible without login Plain text file tree_test.php Example Test of pTree (Full of comments)

  Files folder image Files  /  docs  
File Role Description
  Accessible without login HTML file pTree.html Doc. pTree API
  Accessible without login HTML file pTreeNode.html Doc. pTreeNode API
  Accessible without login HTML file pTree_INDEX.html Doc. pTree Index
  Accessible without login Plain text file stylesheet.css Data CSS Definitions

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:1,915All time:1,929
 This week:0This week:1,542Up