PHP Classes

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,478 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 is available for providing paid consulting. Contact Tom Schaefer .
Classes: 39 packages by
Country: Germany Germany
Age: ???
All time rank: 1099 in Germany Germany
Week rank: 573 Down21 in Germany Germany Down
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  
This week:0
All time:7,478
This week:1,124Up