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)
|
|
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  |
|
|
Ratings | Utility |
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 |
|
Latest pages that reference packages
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|
|
Files |
|