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 1 2 3 4 5 6 7 8 Next >> [20] |
Array
(
[20] => 20
[21] => 21
[22] => 22
[23] => 23
[24] => 24
[25] => 25
[26] => 26
[27] => 27
[28] => 28
[29] => 29
)
|
Results from methods:
getCurrentPageID()...: int(3)
getNextPageID()......: int(4)
getPreviousPageID()..: int(2)
numItems()...........: int(200)
numPages()...........: int(20)
isFirstPage()........: bool(false)
isLastPage().........: bool(false)
isLastPageComplete().: bool(true)
$pager->range........: array(8) {
[1]=>
bool(false)
[2]=>
bool(false)
[3]=>
bool(true)
[4]=>
bool(false)
[5]=>
bool(false)
[6]=>
bool(false)
[7]=>
bool(false)
[8]=>
bool(false)
}