PHP Classes

Tree: Simple Tree Class

Recommend this page to a friend!

  Author Author  
Picture of stefano dolzi
Name: stefano dolzi <contact>
Classes: 3 packages by
Country: Italy Italy
Age: ???
All time rank: 1895 in Italy Italy
Week rank: 310 Down18 in Italy Italy Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
It is a very simple tree class, useful to display hierarchical data, such as an Organizational Chart

Details
This is my first PHP class, so please do not be too hard! In addition, I know something similar already exists in this repository, but I think that my class can be useful too, at least to examine the way I built it. This is a very simple Tree class, it does not allow to navigate (it is not a kind of Windows Explorer Tree!). It can be useful to represent every kind of hierarchical data (i.e. an Organizational Chart). The only limit I have not been able to eliminate is that every node name must be unique, then it seems to work quite well. If you do not like the way the Tree is displayed, you can easily change it by altering the last piece of code of the drawTree() method. You can use this class or alter it. If you extend it or if you find any error, please contact me. Thank you for your attention. Bye :o)

  Classes of stefano dolzi  >  Tree  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Tree
Base name: treeclass
Description: Simple Tree Class
Version: 1.0.0
PHP version: -
License: BSD License
All time users: 8127 users
All time rank: 212
Week users: 0 users
Week rank: 177 Equal
 
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (63%) Not sure (45%) Not sure (59%) Sufficient (63%) - - Not sure (48%) 2509
Month: Not yet rated by the users

  Pages that reference this package  
was thinking more about the relationships plugin i’ve been working on and figuring out ways to store it to the database. the more i worked on it, the more i realized i was re-building systems i had learned in data structures class back when i was in computer science...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.

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
Accessible without login Plain text file GeoExample.php Example Example n.2
Accessible without login Plain text file OrgExample.php Example Example n.1
Accessible without login Plain text file Readme.txt Doc. Read me
Accessible without login HTML file Tree.html Doc. help class
Plain text file TreeClass.php Class Create a hierarchical tree

Install with Composer Install with Composer - Download Download all files: treeclass.tar.gz treeclass.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Accessible without login Plain text file GeoExample.php Example Example n.2
Accessible without login Plain text file OrgExample.php Example Example n.1
Accessible without login Plain text file Readme.txt Doc. Read me
Accessible without login HTML file Tree.html Doc. help class
Plain text file TreeClass.php Class Create a hierarchical tree

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