Login   Register  
PHP Classes
elePHPant
Icontem

Class: Multi-Dimensional Array Handler

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Colin Jermain  >  Multi-Dimensional Array Handler  >  Download .tar.gz .zip  >  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
Related classes: , , , , ,
Version: 1.0
PHP version: 5
License: GNU General Public License (GPL)
All time users: 1026 users
All time rank: 2928
Week users: 2 users
Week rank: 1753
Picture of Colin Jermain
Author: Colin Jermain <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 1815245 in United States United States
Week rank: 1283150 in United States United States
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  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

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
February 2008
Number 8
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%)
1934
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
HTML file Documentation Doc. The object and function documentation.
Plain text file func.marray.compressed.php Aux. Alternative Compressed Functions
Plain text file func.marray.php Aux. Alternative Uncompressed Functions
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.