Login   Register  
PHP Classes
elePHPant
Icontem

ubarray: Generate arrays with a special structure

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 (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-01-12 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 198 All time: 7,188 This week: 1,559Up
Version License PHP version Categories  
ubarray 1.0Freeware5.0PHP 5, Data types
Description Author  

This class can be used to manipulate and generate arrays with a special structure.

It provides different functions that can manipulate and generate arrays. Currently it can:

- Generate an array with values made of keys and values of an associative array separated by colons
- Generate an associative array parsing values of another array that have the array keys and values separated by colons
- Verify whether a value is an array and return an array with the value if it is not an array
- Check whether an array contains array values
- Create an array with elements of another array with a given key or value
- Determine the depth of a nested array
- Return the element of an array in a given position
- Return all values of array as a string with given prefix and suffix optionally ignoring some values
- Merge two arrays
- Removed repeated elements from an array
- Remove elements of an array with given key or value
- Add a value to an array
- Search an array for an element with a given value

Picture of Reynier Blanco
Name: Reynier Blanco <contact>
Classes: 6 packages by
Country: Cuba Cuba
Age: 29
All time rank: 18053 in Cuba Cuba
Week rank: 1782 Up1 in Cuba Cuba Up

  Files folder image Files  
File Role Description
Plain text file array.php Class Main Class
Accessible without login Plain text file index.php Example example
Plain text file option.php Class class example
Accessible without login Plain text file readme_es.txt Doc. description
Plain text file see.php Class class auxiliar

 Version Control Unique User Downloads Download Rankings  
 0%Total:198All time:7,188
 This week:0This week:1,559Up