PHP Classes

Classes of Rick Hambrook

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Rick Hambrook (1)  >  Mission progress status  >  Reputation  
Picture of Rick Hambrook
Name: Rick Hambrook <contact>
Classes: 1
Country: New Zealand New Zealand
Age: ???
All time rank: 421318 in New Zealand New Zealand
Week rank: 161 Up3 in New Zealand New Zealand Up
All time users: 178
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Nest  
Easily set and get values of nested arrays
This class can easily set and get values of nested arrays.

It extends the ArrayObject class to be able to get or set the values of nested array entries with one access to a single variable.

The variable must be named with the indexes of the nested array for each dimension separated with a special sequence of characters which defaults to __ .

When getting an array value with indexes that are not set, the class may return null or a given a default value.

The class also provides functions to perform other functions like incrementing and decrementing array values, appending new values, sorting the array, merging new values, export and import the array from a string in JSON format, etc..
Not enough user ratings


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z