Login   Register  
PHP Classes
elePHPant
Icontem

Little Paginator: Generate links to navigate listings split in pages

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-02-11 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 600 All time: 4,712 This week: 1,463Up
Version License PHP version Categories  
little-paginator 1.2GNU General Public Lice...5.0HTML, PHP 5
Description Author  

This class can generate links to navigate listings split in pages.

It takes as parameters the total number of entries to list, the limit number of entries to show in each page and the limit of pages to link.

The class returns an array with details of each link such as the URL and the page number, the next and previous page links, etc..

En Español:

Ésta clase prepara en un arreglo una lista de nodos contados para formar el paginado.

Está enfocado primordialmente a Patrones Modelo-Vista-Controlador (MVC) por lo que no manipula HTML diréctamente y puede usarse en rainTPL o Smarty con facilidad.

Picture of Cody Roodaka
Name: Cody Roodaka <contact>
Classes: 2 packages by
Country: Argentina Argentina
Age: 19
All time rank: 204226 in Argentina Argentina
Week rank: 1786 Up25 in Argentina Argentina Up

  Files folder image Files  
File Role Description
Plain text file class.paginator.php Class Main class
Accessible without login Plain text file ejemplos.php Example Ejemplos de uso
Accessible without login Plain text file output.json Output salida en JSON

 Version Control Unique User Downloads Download Rankings  
 0%Total:600All time:4,712
 This week:0This week:1,463Up
 User Comments (1)