PHP Classes
elePHPant
Icontem

Associative Array Ordering: Sort an associative array by key value

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 (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-06-07 (10 years ago) RSS 2.0 feedStarStarStar 58%Total: 873 All time: 3,775 This week: 1,555Up
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
Name: Voznyak Nazar is available for providing paid consulting. Contact Voznyak Nazar .
Classes: 4 packages by
Country: Ukraine Ukraine
Age: 35
All time rank: 36710 in Ukraine Ukraine
Week rank: 409 Down9 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 1x

Details provided by the author  
 ----------------------------------------------------------------------
 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  
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

 Version Control Unique User Downloads Download Rankings  
 0%Total:873All time:3,775
 This week:0This week:1,555Up
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:1099
 
Excellent
6 years ago (kishore kumar)
80%StarStarStarStarStar