Pager::getOffsetByPageId()

Pager::getOffsetByPageId() -- Returns offsets for given pageID.

Synopsis

require_once 'Pager.php';

array Pager::getOffsetByPageId ([integer $pageid = NULL])

ïÐÉÓÁÎÉÅ

Returns offsets for given pageID. Eg, if you pass it pageID one and your perPage limit is 10 it will return (1, 10). pageID=2 would give you (11, 20).

if the method is called without parameter, pageID is set to currentPage

ðÁÒÁÍÅÔÒ

÷ÏÚ×ÒÁÝÁÅÍÏÅ ÚÎÁÞÅÎÉÅ

return array with first and last offsets

Deprecated

deprecated


HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà