PHP Classes

tree_datas: Transform a 2D array of content into a tree

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 34%Total: 3,739 This week: 1All time: 879 This week: 560Up
Version License Categories
tree 1.0.0GNU General Publi...Content management, Data types
Description 

Author

The class transforms a 2D linear array of content information into another array with a tree structure.

It can be used to generate hierarchic menus for navigation in a Web site and easily return brothers, children and fathers of a given node
The new version is PHP5 compatible and can now sort the children of a given node.

Picture of Julien PACHET
Name: Julien PACHET <contact>
Classes: 15 packages by
Country: France France
Age: 47
All time rank: 301 in France France
Week rank: 106 Down5 in France France Down

Screenshots  
  • graphic_tree.png
  • text_tree.png
  Files folder image Files  
File Role Description
Image file arbo_angle.gif Data image for graphic tree
Image file arbo_milieu.gif Data image for graphic tree
Image file arbo_moins.gif Data image for graphic tree
Image file arbo_plus.gif Data image for graphic tree
Image file arbo_vert.gif Data image for graphic tree
Image file arbo_vide.gif Data graphic version of the tree
Plain text file class.inc.php Class source
Plain text file class_tree.inc.php5 Class PHP5 version
Plain text file example1.php Example Example file of static use of class
Plain text file example2.php Example Example of use of dynamic tree (react to mouse click)

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,739
This week:1
All time:879
This week:560Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:53%StarStarStar
Documentation:-
Examples:37%StarStar
Tests:-
Videos:-
Overall:34%StarStar
Rank:4140