PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 34%Total: 3,739 All time: 880 This week: 673Up
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: 214 Down9 in France France Down

Screenshots (2)  
  • graphic_tree.png
  • text_tree.png
  Files folder image Files (12)  
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)

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,739
This week:0
All time:880
This week:673Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:53%StarStarStar
Documentation:-
Examples:37%StarStar
Tests:-
Videos:-
Overall:34%StarStar
Rank:4207