PHP Classes
elePHPant
Icontem

Recursion Helper: Convert a flat array into a multidimensional array

Recommend this page to a friend!
  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 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 240 All time: 7,480 This week: 1,124Up
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 <contact>
Classes: 39 packages by
Country: Germany Germany
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:240
This week:0
All time:7,480
This week:1,124Up