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