Comunitatea PHP Romania
 

 
Pager

Pager

Table of Contents
Introduction -- Usage of Pager 2.x
Pager "Jumping" vs. "Sliding" -- Feature comparison of the two pager styles
Pager::factory() -- Creates a pager instance
Pager::setOptions() -- Set or change option after the Pager object has been constructed
Pager::build() --  Generate or refresh the links and paged data after a call to setOptions()
Pager::getCurrentPageID() -- Returns current page number
Pager::getLinks() --  Returns back/next/first/last and page links, both as ordered and associative array.
Pager::getNextPageID() -- Returns next page number.
Pager::getOffsetByPageId() -- Returns offsets for given pageID.
Pager::getPageData() -- Returns an array of current pages data
Pager::getPageIdByOffset() -- Returns the page number for the given offset
Pager::getPageRangeByPageId() -- Returns offsets for given pageID.
Pager::getPreviousPageID() -- Returns previous page number.
Pager::getPerPageSelectBox() -- Returns a string with a XHTML SELECT menu, to choose how many items per page should be displayed.
Pager::isFirstPage() -- Returns whether current page is first page
Pager::isLastPage() -- Returns whether current page is last page
Pager::isLastPageComplete() -- Returns whether last page is complete
Pager::numItems() -- Returns number of items
Pager::numPages() -- Returns number of pages
Pager::Pager() -- Creates a pager instance

Data paging class which also builds links to the pages.

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
Mascka Mascka
Braila
raul_ raul_
whooper whooper
Toronto ON
mihaitha mihaitha
Sibiu
gabysolomon gabysolomon
Bacau
oriceon oriceon
Constanta
garlicinicolae garlicinicolae

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Astec | Credit Reports | Bad Credit Mortgages | Loans | Debt
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis