PHP Classes
elePHPant
Icontem

List: Manage double-linked lists of sorted elements

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-09-04 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 656 All time: 4,691 This week: 1,070Up
Version License Categories
sl-sortedlist 1.0Freely DistributableData types
Description Author

This package can be used to manage double-linked listed of elements that are automatically sorted.

There is a class for managing the lists of elements of any type or class, and another for managing the list nodes of elements.

The list class provides means to add new list nodes in a position determined by the sorting criteria.

The sorting criteria can be customized passing the name of a callback function that performs the comparision between the elements of the list.

The code and the comments are in Spanish.

In Spanish:

Lista simplemente enlazada que mantiene el orden de los elementos que se le insertan.

Puede almacenar cualquier tipo de dato, incluso Objetos y arrays.

Para determinar el orden qeu se debe mantener utiliza una función definida por el usuario que se le indica a la clase al instanciarla.

Name: Matías montes <contact>
Classes: 3 packages by
Country: Argentina Argentina
Age: 32
All time rank: 109613 in Argentina Argentina
Week rank: 1167 Down16 in Argentina Argentina Down

  Files folder image Files  
File Role Description
Plain text file class.Lista.php Class Main class file
Plain text file class.Nodo.php Class Node class. Used by main class
Accessible without login Plain text file Ejemplo1.php Example Simple example using Integers
Accessible without login Plain text file Ejemplo2.php Example Example using objects and chained lists

 Version Control Unique User Downloads Download Rankings  
 0%
Total:656
This week:0
All time:4,691
This week:1,070Up