PHP Classes
elePHPant
Icontem

Array Picker: Filter arrays by key, exclude items or match rules

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-11-14 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 329 All time: 6,775 This week: 1,042Up
Version License PHP version Categories
array-picker 0.1Custom (specified...5.0PHP 5, Data types
Description Author

This class can filter arrays by key, exclude items or matching rules.

It can take a given associative array and return the entry with a given index or a given default value if the index does not exist.

The class can also return the whole array except a given index if it exists.

It can also return the array filtered using a given set of conditions that determine the keys of the elements to include or exclude.

Innovation Award
PHP Programming Innovation award nominee
November 2013
Number 8
Sometimes it is necessary to filter arrays according to certain rules.

This class can filter arrays by either keeping or removing entries with a given index.

Manuel Lemos
Picture of Horse Luke
  Performance   Level  
Name: Horse Luke <contact>
Classes: 2 packages by
Country: China China
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • snapshot.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Accessible without login Plain text file LICENSE.txt Lic. the Apache License, Version 2.0 (the "License")
Plain text file lrn_tool_array_picker.php Class class lrn_tool_array_picker
Accessible without login Plain text file raw_data.php Aux. example-raw-data

 Version Control Unique User Downloads Download Rankings  
 0%
Total:329
This week:0
All time:6,775
This week:1,042Up