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,737 All time: 880 This week: 122Up
Version License Categories
tree 1.0.0GNU General Publi...Content management, Data types


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: 387 Down14 in France France Down

  • 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 source
Plain text file 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  
This week:0
All time:880
This week:122Up
 User Ratings  
 All time