Login   Register  
PHP Classes
elePHPant
Icontem

Multi-Dimensional Array Handler

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Colin Jermain
Name: Colin Jermain <e-mail contact>
Packages: 1 Browse all classes by Colin Jermain Browse all classes by
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 1930251 in United States United States
Week rank: 2173 Down253 in United States United States Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to access multi-dimensional array entries with a single string entry key.

It allows to reference elements of an array an arbitrary depth using a single string that represents the element array indexes separated with commas.

The class can take an element index string and set or get its value, check if the element is set, or check it is empty or return the count of entries if the element is an array.

  Classes of Colin Jermain  >  Multi-Dimensional Array Handler  >  Download .zip .tar.gz  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Multi-Dimensional Array Handler
Base name: marray
Description: Access multi-dimensional arrays with a single key
Version: 1.0
PHP version: 5
License: GNU General Public License (GPL)
All time users: 1078 users
All time rank: 3031
Week users: 0 users
Week rank: 2067 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
February 2008
Number 8

Prize: One copy of Delphi for PHP
Multi-dimensional arrays present a challenge to developers that need to reference elements of the arrays, which is the fact that you need a variable number of indexes to reference an element depending on its depth.

This class provide a solution to this problem by allowing to reference and manipulate an element by using a single string that comprises all the indexes of the element.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (50.0%)
Sufficient (75.0%)
Good (83.3%)
-
-
-
Not sure (40.8%)
2005
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file obj.marray.php Class marray Uncompressed Object
Plain text file obj.marray.compressed.php Class marray Compressed Object
Accessible without login HTML file Documentation Doc. The object and function documentation.
Accessible without login Plain text file func.marray.compressed.php Aux. Alternative Compressed Functions
Accessible without login Plain text file func.marray.php Aux. Alternative Uncompressed Functions
Accessible without login Plain text file License Lic. Package License

Download all files: marray.tar.gz marray.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.