PHP Classes

Associative Array Ordering: Sort an associative array by key value

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
StarStarStar 58%Total: 890 All time: 3,973 This week: 560Up
Version License Categories
aasort 1.0GNU General Publi...Data types
Description 

Author

This package can sort the entries of an associative array by the value of the entry keys.

It is taken from the PHP official manual and slightly modified for own purposes. The package comes with base class that performs the sorting.

Picture of Voznyak Nazar
  Performance   Level  
Name: Voznyak Nazar <contact>
Classes: 4 packages by
Country: Ukraine Ukraine
Innovation award
Innovation award
Nominee: 1x

Details

---------------------------------------------------------------------- Associative Array Ordering Class Voznyak Nazar (freelancer), 2005 narko@mail.lviv.ua ---------------------------------------------------------------------- LICENSE This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have recieved the lincence included with the disribution. If not visit http://www.gnu.org/copyleft/gpl.html ---------------------------------------------------------------------- This package is mean to order associative array by field name. It is taken from the php official manual and slightly modified for own purposes. The package comes with base class that perform ordering. There is also example which demonstrate how to use this class. Another examples will be available soon, e.g. example of adding up results of search keyword from google, etc.

  Files folder image Files (4)  
File Role Description
Plain text file aasort.class.php Class Order associative array by field name
Accessible without login Plain text file example1.php Example Example of aasort class using
Accessible without login Plain text file example2.php Example Retrieve # of each keyword from search results on google page
Accessible without login Plain text file readme.txt Doc. readme

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:890
This week:0
All time:3,973
This week:560Up
User Ratings User Comments (1)
 All time
Utility:70%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1583
 
Excellent
15 years ago (kishore kumar)
80%StarStarStarStarStar