Login   Register  
PHP Classes

Class: Advanced Array Sort

Icontem
elePHPant

  Classes of Matthias Rothe  >  Advanced Array Sort  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Advanced Array Sort Support forum
Base name: array_sort
Description: Sorts multidimensional arrays by multiple columns
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Applications   Files Files  

Author

Picture of Matthias Rothe
Name: Matthias Rothe <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Home page: ???

Groups

Group folder image Data types Modeling and manipulating data types View top rated classes

Detailed description

This class sorts two- or multidimensional arrays by one or multiple columns. The assumed array format is always [row][column]([property]).

Sorting works ascending as well as descending.

There are no limits to either the dimensions of the array or the columns it is sorted by.

All that's necessary to pass to the class is the array to be sorted and a sort string specifying how the array is to be sorted. This sort string is checked for syntactical and semantical errors. Should any error occur an appropriate error message is returned.

Freshmeat project

Project record: array_sort

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

File Role Description
Plain text file array_sort.class.inc Class The full, uncommented source code
Plain text file array_sort.commented_class.inc Class The full source code with German comments
Plain text file array_sort_example1.php Example Example of the Class in Use (readme.txt conform)
Plain text file array_sort_example2.php Example Example of the Class in Use (Outputs Error Msgs)
Plain text file license.txt Lic. License
Plain text file readme.txt Doc. A brief Manual to the Class
Download all files: array_sort.tar.gz array_sort.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.