Deprecated: Assigning the return value of new by reference is deprecated in /home/udigrud/public_html/scripts/rvslib/Pear/Pager/Pager.php on line 174
Strict Standards: Non-static method Pager::factory() should not be called statically in /home/udigrud/public_html/scripts/rvslib/Pear/pagerTest.php on line 24
Deprecated: Assigning the return value of new by reference is deprecated in /home/udigrud/public_html/scripts/rvslib/Pear/Pager/Common.php on line 1150
Deprecated: Assigning the return value of new by reference is deprecated in /home/udigrud/public_html/scripts/rvslib/Pear/Pager/Common.php on line 1174
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/udigrud/public_html/scripts/rvslib/Pear/Pager/Pager.php:174) in /home/udigrud/public_html/scripts/rvslib/Pear/Pager/Common.php on line 1407
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/udigrud/public_html/scripts/rvslib/Pear/Pager/Pager.php:174) in /home/udigrud/public_html/scripts/rvslib/Pear/Pager/Common.php on line 1407
new PEAR::Pager example
1 2 3 4 5 6 7 8 Next >> |
Array
(
[0] => 0
[1] => 1
[2] => 2
[3] => 3
[4] => 4
[5] => 5
[6] => 6
[7] => 7
[8] => 8
[9] => 9
)
|
Results from methods:
getCurrentPageID()...: int(1)
getNextPageID()......: int(2)
getPreviousPageID()..: bool(false)
numItems()...........: int(200)
numPages()...........: int(20)
isFirstPage()........: bool(true)
isLastPage().........: bool(false)
isLastPageComplete().: bool(true)
$pager->range........: array(8) {
[1]=>
bool(true)
[2]=>
bool(false)
[3]=>
bool(false)
[4]=>
bool(false)
[5]=>
bool(false)
[6]=>
bool(false)
[7]=>
bool(false)
[8]=>
bool(false)
}