Class Sliding

Summary

Fully Qualified Name: Zend\Paginator\ScrollingStyle\Sliding
Implements: ScrollingStyleInterface

Description

A Yahoo! Search-like scrolling style. The cursor will advance to the middle of the range, then remain there until the user reaches the end of the page set, at which point it will continue on to the end of the range and the last page in the set.

Methods

Name Description Defined By
getPages() Returns an array of "local" pages given a page number and range. Sliding

Method Details

getPages()

Returns an array of "local" pages given a page number and range.

Parameter Name Type Description
$paginator \Paginator
$pageRange int (Optional)

Returns: array

Top