Login   Register  
PHP Classes
elePHPant
Icontem

Array Treatment

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

  Author  
Picture of Muhamed Turkanovic
Name: Muhamed Turkanovic <e-mail contact>
Packages: 3 Browse all classes by Muhamed Turkanovic Browse all classes by
Country: Slovenia Slovenia - PHP jobs in Slovenia
Age: ???
All time rank: 20216 in Slovenia Slovenia
Week rank: 2187 Down6 in Slovenia Slovenia Equal
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to count array values by given entry names.

It traverses a given array of associative array values and group all entries that have the same value of a given entry.

The class returns an associative array with key entries defined by one given entry, summing all values of another given entry.

  Classes of Muhamed Turkanovic  >  Array Treatment  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Array Treatment
Base name: array-treatment
Description: Count array values by given entry names
Version: 1.0
PHP version: 3.0
License: Artistic License
All time users: 254 users
All time rank: 6368
Week users: 0 users
Week rank: 2051 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Data types Modeling and manipulating data types View top rated classes
Group folder image Math Math related classes. View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
December 2010
Number 6

Prize: One year subscription to the PDF edition of the JSMag magazine
Sometimes you need to sum the values of a given column returned by a database query result and group the results by values of another column.

This class provides a solution for summing values returned in an array just like you would be able to do using SQL GROUP BY clause and SUM function.

Manuel Lemos

  User ratings  
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 ArrayTreatment Class function code

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