PHP Classes

PHP Collection: Manipulate collection objects indexed by names

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: 1,765 All time: 2,225 This week: 560Up
Version License Categories
phpcollection 1.0.0GNU Lesser Genera...Data types
Description 

Author

This class can manipulate collection objects, also known as dictionary objects, like in Java, that store entry values indexed by name keys.

It provides functions to:

- Add entries by name key
- Remove entries by name key or by position
- Retrieve entry values by name key or by position
- Determine whether there is already an entry with a given key
- Iterate over all entries by position order
- Retrieve all entries in a a non-associative array
- Remove all entries from the collection

Picture of Hasin Hayder
Name: Hasin Hayder is available for providing paid consulting. Contact Hasin Hayder .
Classes: 9 packages by
Country: Bangladesh Bangladesh
Age: 45
All time rank: 442 in Bangladesh Bangladesh
Week rank: 170 Down2 in Bangladesh Bangladesh Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Plain text file collection.php Class Base Class
Accessible without login Plain text file usage.php Example Example Script using this Class

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:1,765
This week:0
All time:2,225
This week:560Up
User Comments (1)
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar