Login   Register  
PHP Classes
elePHPant
Icontem

Class: FuncUtility

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Stanislav Shramko  >  FuncUtility  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: FuncUtility
Base name: funcutility
Description: Manipulate values in iterable data sets
Version: 1.0
PHP version: 5.1
License: GNU Lesser General Public License (LGPL)
All time users: 237 users
All time rank: 5897
Week users: 0 users
Week rank: 2348
Picture of Stanislav Shramko
Author: Stanislav Shramko <e-mail contact>
Packages: 4 Browse this author's classes Browse this author's classes
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 31
All time rank: 250064 in Russian Federation Russian Federation
Week rank: 2255 Up65 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
July 2009
Number 9
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

  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 FuncUtility.php Class The code

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