Login   Register  
PHP Classes
elePHPant
Icontem

FuncUtility: Manipulate values in iterable data sets

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-06-20 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 264 All time: 6,800 This week: 2,192Up
Version License PHP version Categories  
funcutility 1.0GNU Lesser General Publ...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
Name: Stanislav Shramko <contact>
Classes: 4 packages by
Country: Russian Federation Russian Federation
Age: 34
All time rank: 278270 in Russian Federation Russian Federation
Week rank: 1051 Up34 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:264All time:6,800
 This week:0This week:2,192Up