PHP Classes

Classes of Willy Svenningsson

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Willy Svenningsson (1)  >  Mission progress status  >  Reputation  
Picture of Willy Svenningsson
Name: Willy Svenningsson <contact>
Classes: 1
Country: Sweden Sweden
Age: 76
All time rank: 420326 in Sweden Sweden
Week rank: 228 Up3 in Sweden Sweden Up
All time users: 182
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  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 PHP Group By Array  
PHP Programming Innovation award nominee
September 2015
Number 11
Group bidimensional arrays by a given element
This class can broup bidimensional arrays by a given element.

It can take as parameter an array that contains a set of arrays with element values.

The class sorts the array grouping it by the elements of the set of arrays in a given positions similar to SQL GROUP BY clause.

Multiple elements may be used to group the array.

The class returns an array with the grouped elements containing two values: the first with the grouping key values and another with an array with remaining values.
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