Login   Register  
PHP Classes
elePHPant
Icontem

Recursion Helper: Convert a flat array into a multidimensional array

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 232 All time: 7,105 This week: 1,382Up
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
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: 115 Down3 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:232All time:7,105
 This week:0This week:1,382Up