PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » Pager

Data paging class

This package is unmaintained.

Download latest release 2.5.1 (there might be newer Composer installable version)

License: BSD

Description

It takes an array of data as input and pages it according to various parameters.
It also builds links within a specified range, and allows complete customization of the output (it even works with front controllers and mod_rewrite).
Two operating modes available: "Jumping" and "Sliding" window style.

Documentation

Manual

Maintainers

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#441ClosedBug2003-12-16Pager does not escape '&' in links
#589ClosedBug2004-01-15common.php raise a notice if the querystring has no '=' character
#652ClosedBug2004-01-31Test depends on non existant ../simpletest/
#812ClosedBug2004-02-20PHP5: assign to $this ==> Fatal Error
#1263ClosedBug2004-04-22default for getPerPageSelectBox only from session
#1377ClosedBug2004-05-10getPageData() returns no data when $pageID is specified.
#1383ClosedBug2004-05-11Duplicate vars in QUERY_STRING (_getLinksUrl() function)
#1589ClosedBug2004-06-09output doesn't seem to be XHTML compliant
#1898ClosedBug2004-07-16Documentation problem-- minor.
#1904ClosedBug2004-07-17Pager drops GET values although append = true
#2103ClosedBug2004-08-10can not set "curPageSpanPre" and "curPageSpanPost"
#2131ClosedReq2004-08-16PEAR::Pager allows XSS attack
#2169ClosedBug2004-08-20Pager.php installed into the wrong place
#2171ClosedBug2004-08-20Constructor Errors break BC for extended classes
#2174ClosedBug2004-08-20E_NOTICE messages
#2461ClosedReq2004-10-05would be nice to be able to exclude given vars from url
#2555ClosedReq2004-10-18post form are not allowed
#2617ClosedBug2004-10-25[PATCH] 'append' Links are broken when used on index pages
#2754ClosedReq2004-11-15It's not possible to use javascript as the urlVar
#2908ClosedBug2004-12-06Invalid GET returning array values
#2989BogusBug2004-12-19Wrong parsing of arrays in QUERY_STRING
#3043ClosedBug2004-12-28Pager + mod_rewrite, recursive urlencode() breaks rewrite handler
#3212ClosedBug2005-01-15rawurlencode call breaks some links in _getLinksUrl
#3254ClosedBug2005-01-20problem when URL variable contains a space
#3350ClosedBug2005-02-01path or _url error with getLinks or _setOptions
#3449ClosedReq2005-02-12Exclude query vars entirely
#3450ClosedReq2005-02-12Use $_GET instead of reparsing
#3451ClosedReq2005-02-12Use http_build_query
#3639BogusBug2005-02-28perPage not working, returns extra rows
#3878ClosedReq2005-03-18POST method support
#4277ClosedReq2005-05-04$_POST['pageID'] works only with httpMethod => 'POST'
#4337ClosedBug2005-05-12New version breaks encoding.
#4422BogusReq2005-05-24I'd like to be able to override the get/post/querystring values
#4496ClosedReq2005-05-31New Feature to add first and last pages with diffs
#4654ClosedBug2005-06-21FILENAME overriding User Supplied filename variable (append)
#4735BogusBug2005-07-04input variable not cleaned enough
#4866No FeedbackBug2005-07-19unwanted htmlentities() in Common.php
#4895ClosedReq2005-07-22Replace b and u tags with span?
#4897ClosedBug2005-07-23incorrect links when include Multibyte String
#4934BogusReq2005-07-28Bad page number
#4946BogusReq2005-07-29Allow for different url separator
#5159BogusReq2005-08-20May I use mod_rewrite?
#5605ClosedReq2005-10-04Add DBDO::getLinks() to Pager_Wrapper_DBDO()
#6005ClosedReq2005-11-17During POST request, use href="javascript:void(0);" instead of href="#"
#6529ClosedBug2006-01-19form with filed containing value single-quote
#6680ClosedBug2.3.52006-02-03fileName parameter crashes with %
#6697ClosedBug2006-02-05Use REQUEST_URI instead of PHP_SELF for href generation
#6812ClosedBug2.3.62006-02-17htmlentities in _generateFormOnClickHelper($data, $prev = '') mangles utf8 valu
#6986ClosedReq2.3.62006-03-01On bad pageID to getPageData, return empty array instead of FALSE.
#6987ClosedReq2.3.62006-03-01No way to modify destination URL when using method 'POST'
#6998ClosedReq2.3.62006-03-02Direct page select
#7072BogusBug2.3.62006-03-09Invalid XHTML markup
#7073BogusBug2.3.62006-03-09Some title tags are not changed
#7127ClosedBug2.3.62006-03-15problem with rewriteCountQuery function
#7243BogusBugCVS2006-03-29spacesAfterSeparator and spacesBeforeSeparator are not Working
#7283ClosedReq2.3.62006-04-03proposals to getPerPageSelectBox
#7323BogusReq2.3.62006-04-06Cannot localize text for "last page" and "first page"
#7388ClosedBug2.3.62006-04-13unvalid XHTML code "onClick"
#7413ClosedReq2.3.62006-04-17Query options
#7452ClosedReqCVS2006-04-21Missing extra attributes option
#7453Wont fixReqCVS2006-04-21Pager's output is not very readable
#7657ClosedBug2.4.12006-05-18not compatible with autoload
#7782BogusReq2.4.12006-06-01Why should I see all the pages in the first time?
#7936ClosedBug2.4.22006-06-19pager seems not to work with SSL
#8088DuplicateBug2.4.22006-06-30Pager don't respect ssl mode
#8969ClosedReq2.4.22006-10-11excludeVars with extraVars at the same time
#9136BogusBug2.4.22006-10-22When append is false, query string is removed
#9601ClosedBug2.4.32006-12-12rewriteCountQuery (Page_Wrapper.php) does not handle query with 'UNION' keyword
#9782SpamReq2.4.32007-01-09None
#9946ClosedBug2.4.32007-01-25Update to Pager (bug fix in file HTMLWidgets.php)
#10085ClosedBug2.4.32007-02-13using GET vars for paging and UTF8 on page pager urls get messed up
#10244BogusBug2.4.32007-03-02function Pager_Wrapper_MDB2 don't work
#10869ClosedReq2.4.32007-04-28Reverse page count
#11241ClosedReq2.4.32007-06-06add onclick support (patch included)
#11294ClosedBug2007-06-12Fatal error: Call to undefined method Pager_Sliding::build()
#11697ClosedReq2.4.32007-07-28Pager_Jumping::build() lose first and last page string concatenation
#12257ClosedBug2.4.42007-10-16Strict Standards error messages from pager.
#12267ClosedReq2.4.42007-10-17some changes/correction
#12306ClosedBug2.4.42007-10-22Can't make relative links with only a filename.
#12531ClosedReq2.4.42007-11-26Pager links are not HTML 4.01 strict
#12796ClosedBug2.4.42007-12-30curPageLinkClassName override curPageSpanPre and curPageSpanPost
#12797ClosedReq2.4.42007-12-30Two feature request altPage and Jumping mode
#12837ClosedBug2.4.42008-01-06If $_SESSION['setPerPage'] be set, Pager always uses it
#12934ClosedBug2.4.42008-01-20Have a problem from Strict standards
#13316ClosedBug2.4.52008-03-05Notice message appearing
#13342ClosedBug2.4.52008-03-08getLinks() return the wrong result.
#13380BogusReq2.4.52008-03-12deactivated next/prev links
#13410ClosedBug2.4.52008-03-17'linkTagsRaw' without '$' mark typo miss
#13440ClosedBug2.4.52008-03-19setPerPage in URL overrides perPage option
#13469ClosedBug2.4.52008-03-23getPerPageSelectBox can produce invalid xhtml
#13472ClosedBug2.4.52008-03-23PHP 6 Removes get_magic_quotes_gpc
#13506ClosedBug2.4.52008-03-26POST method deletes querystring
#13507DuplicateBug2.4.52008-03-26POST method deletes querystring
#13509ClosedReq2.4.52008-03-26prev/next images when no prev/next link is needed
#13517DuplicateBug2.4.52008-03-27Warning is disabled if warning output is enabled
#13530No FeedbackBug2.4.62008-03-29Multibyte post data broken when you click the Pager link with onclick
#13543ClosedDoc2.4.62008-03-30Missing documentation for title attributes in link tags
#13567ClosedReq2.4.62008-04-02Support for regexp in $_excludeVars
#13604ClosedBug2.4.62008-04-05Warnings
#13881ClosedBug2008-05-12render(DATAGRID_RENDER_PAGER) HTML incorrect with setUrlFormat()
#13913ClosedBug2.4.62008-05-16empty prev/next image shown when only one page exists
#14974Wont fixBug2.4.72008-11-07Doesn't Conform to php strict standards
#15860BogusBug2.4.72009-02-02Possible regression of Bug #7657
#15901Wont fixReq2009-02-16New pager option
#15949ClosedReq2009-02-26Add auto_submit option to getPerPageSelectBox
#16474BogusBug2.4.82009-07-26Pager Class creation error
#17309OpenBug2.4.82010-04-13Improper url-encoding for POST forms
#17811No FeedbackBug2.4.82010-08-24pagination urls have trailing /
#17812DuplicateBug2.4.82010-08-24pagination urls have trailing /
#18208ClosedDocSVN2011-01-21invalid info in "Pager and big db resultsets" section
#18299ClosedBug2.4.82011-02-23After upgrading to PHP 5.3.5
#18983AssignedReq2.4.82011-11-11Enhanced link formatting with <li> tags
#19603Wont fixReq2.4.82012-09-12use dirname(__FILE__) for include path
#19739ClosedBug2.4.82012-12-10Pager-savebc.php installed in wrong directory
#19801No FeedbackBug2.4.82013-01-27Undefined HTTP_HOST
#20537ClosedBug2015-04-28Error with php 5.4.40
#20569OpenBug2.4.92015-07-10extraVars not used when append=false
#21032ClosedBugUnknown2016-02-21Pager & PHP 7