Pager::getPageIdByOffset

Pager::getPageIdByOffset() – Returns the page number for the given offset

Synopsis

require_once 'Pager.php';

array Pager::getPageIdByOffset ( integer $index )

Description

This method is only available in "Jumping" mode.

Parameter

  • integer $index - Offset to get pageID for

Return value

return Page number for this offset

Returns an array of current pages data (Previous) Returns offsets for given pageID. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.