PHP Classes

FuncUtility: Manipulate values in iterable data sets

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 273 All time: 7,692 This week: 455Up
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: 44
All time rank: 309785 in Russian Federation Russian Federation
Week rank: 288 Up16 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:273
This week:0
All time:7,692
This week:455Up