Pager::getNextPageID (Previous) (Next) Pager::getPageData

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Pager::getOffsetByPageId()

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

Descripción

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

Parámetro

  • integer $pageid - PageID to get offsets for

Valor devuelto

return array with first and last offsets

Deprecated

deprecated

Pager::getNextPageID (Previous) (Next) Pager::getPageData

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.