A Google-like scrolling style. Incrementally expands the range to about twice the given page range, then behaves like a slider. See the example link.

link http://www.google.com/search?q=Zend+Framework
package Default
inherited_from \Zend\Paginator\ScrollingStyle\Sliding

 Methods

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

getPages(\Zend\Paginator\Paginator $paginator, integer $pageRange = null) : array
inherited_from \Zend\Paginator\ScrollingStyle\Sliding::getPages()

Parameters

$paginator

\Zend\Paginator\Paginator

$pageRange

integer

Unused

Returns

array

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

getPages(\Zend\Paginator\Paginator $paginator, integer $pageRange = null) : array
Inherited
inherited_from \Zend\Paginator\ScrollingStyle\ScrollingStyleInterface::getPages()

Parameters

$paginator

\Zend\Paginator\Paginator

$pageRange

integer

(Optional) Page range

Returns

array