Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Pager has a deprecated constructor in /home/balancee/public_html/alrowad-cons.com/scripts/rvslib/Pear/Pager/Pager.php on line 52
Deprecated: Non-static method Pager::factory() should not be called statically in /home/balancee/public_html/alrowad-cons.com/scripts/rvslib/Pear/pagerTest.php on line 24
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Pager_Jumping has a deprecated constructor in /home/balancee/public_html/alrowad-cons.com/scripts/rvslib/Pear/Pager/Jumping.php on line 61
Warning: session_start(): Cannot start session when headers already sent in /home/balancee/public_html/alrowad-cons.com/scripts/rvslib/Pear/Pager/Common.php on line 1604
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Pager_HtmlWidgets has a deprecated constructor in /home/balancee/public_html/alrowad-cons.com/scripts/rvslib/Pear/Pager/HtmlWidgets.php on line 49
new PEAR::Pager example
|
[1] << Back 17 18 19 20 Next >> [20] |
Array
(
[170] => 170
[171] => 171
[172] => 172
[173] => 173
[174] => 174
[175] => 175
[176] => 176
[177] => 177
[178] => 178
[179] => 179
)
|
Results from methods:
getCurrentPageID()...: int(18)
getNextPageID()......: int(19)
getPreviousPageID()..: int(17)
numItems()...........: int(200)
numPages()...........: int(20)
isFirstPage()........: bool(false)
isLastPage().........: bool(false)
isLastPageComplete().: bool(true)
$pager->range........: array(4) {
[17]=>
bool(false)
[18]=>
bool(true)
[19]=>
bool(false)
[20]=>
bool(false)
}