Login   Register  
PHP Classes
elePHPant
Icontem

EasyPagination

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Olavo Alexandrino  >  EasyPagination  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: EasyPagination
Base name: easypagination
Description: Pagination MySQL query records
Related classes:
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2431 users
All time rank: 1324
Week users: 0 users
Week rank: 2368
 

  Author  
Picture of Olavo Alexandrino
Name: Olavo Alexandrino <e-mail contact>
Packages: 8 Browse all classes by Olavo Alexandrino Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 31
All time rank: 774 in Brazil Brazil
Week rank: 255 Down17 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
This class is meant to present the records of a MySQL database query split between multiple pages. It features:

- Setting current page
- Setting the records listed in each page
- Getting the total number of records retrieved
- Setting the query for searching records
- Using the same query to gets the total number of records
- Defining the additional parameters that may be necessary on the search and will be passed between pages with the GET method
- Outputs the total number of records
- Outputs the total number of pages based on to the number of records in each page
- Outputs the values of the records of the current page
- Outputs the links for browsing from 1 to 10, 11 to 20, 21 to 30, and so forth

In portuguese:

- Define a página atual
- Define o número de registros por página
- Define o número total de registros retornados
- Método que define a consulta de registros
- Método com mesma consulta acima, porém é usada para retornar o número total de resultados (COUNT)
- Seta os possíveis parâmetros extras que serão usados na pesquisa e passados pelo método GET
- Retorna o número total de registros encontrados pela consulta
- Retorna o número total de páginas de acordo com o número de registros por página
- Retorna o resultado de dados da página atual
- Retorna os links de navegação
- Retorna os links das páginas atuaís de acordo com a página corrente
- Sempre de 1 a 10, de 11 a 20, de 21 a 30, etc
- Retorna os registros atuais de acordo com a página vigente
- Retorna o Conjunto de links de 10 em 10, variando de (X)1,(X+1)1,(X+2)1

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (77.1%)
Sufficient (70.8%)
-
Sufficient (75.0%)
-
-
Not sure (53.1%)
1302
Month:
Not yet rated by the users

  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 folder image Files  
File Role Description
Plain text file class.EasyPagination.php Class Class Code
Plain text file class.EasyPagination_1.01.php Class Version 1.01
Plain text file example.php Example Example
Plain text file users.sql Data Table DB (MySQL) for test

Download all files: easypagination.tar.gz easypagination.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.