PHP Classes

Recursion Helper: Convert a flat array into a multidimensional array

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-02-25 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 239 All time: 7,335 This week: 1,056Up
Version License PHP version Categories  
recursion-helper 1.0Artistic License5.0PHP 5, Utilities and Tools, Data types
Description Author  

This class can convert a flat array into a multidimensional array.

It can recursively traverse bidimensional array of associative arrays and look at each entry for the a given indexes that contains the parent and child entry identifiers.

The class can build an nested array based on the parent and child relationships.

Picture of Tom Schaefer
  Performance   Level  
Name: Tom Schaefer is available for providing paid consulting. Contact Tom Schaefer .
Classes: 39 packages by
Country: Germany Germany
Age: ???
All time rank: 1109 in Germany Germany
Week rank: 108 Up3 in Germany Germany Up
Innovation award
Innovation award
Nominee: 9x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file RecursionHelper.php Class fast class to generate deep nested arrays from lists

 Version Control Unique User Downloads Download Rankings  
 0%Total:239All time:7,335
 This week:0This week:1,056Up