PHP Classes

FuncUtility: Manipulate values in iterable data sets

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 273 This week: 1All time: 7,683 This week: 560Up
Version License PHP version Categories
funcutility 1.0GNU Lesser Genera...5.1PHP 5, Data types, Language
Description 

Author

This class can be used to manipulate values in iterable data sets.

It can iterate over a set of elements contained in a collection managed by an object that implements the Iterable interface.

The class executes several types of operations to manipulate the collection elements by invoking given callback functions that determine what to do with the elements.

Currently it can filter a subset of the elements, call a function to manipulate each of the elements, map the elements to a new set of values, reduce the elements to a single value.

Innovation Award
PHP Programming Innovation award nominee
July 2009
Number 9


Prize: One downloadable copy of Komodo IDE
PHP has functions for processing arrays like foreach, array_filter, array_map and array reduce that only work with arrays or objects classes that implement the ArrayAccess interface under PHP 5.

This provides an implementation of equivalent functions that also work with strings or objects of classes that implement the Iterator interface.

Manuel Lemos
Picture of Stanislav Shramko
  Performance   Level  
Name: Stanislav Shramko <contact>
Classes: 4 packages by
Country: Russian Federation Russian Federation
Age: 43
All time rank: 309485 in Russian Federation Russian Federation
Week rank: 411 Up22 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file FuncUtility.php Class The code

 Version Control Unique User Downloads Download Rankings  
 0%
Total:273
This week:1
All time:7,683
This week:560Up