Class Elastic

Summary

Fully Qualified Name: Zend\Paginator\ScrollingStyle\Elastic
Extends: Sliding

Description

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.

Methods

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

Method Details

getPages()

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

Parameter Name Type Description
$paginator \Paginator
$pageRange int Unused

Returns: array

Top