Paginator/ScrollingStyle/Elastic.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Paginator
- Version
- $Id: Elastic.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Paginator_ScrollingStyle_Elastic
Package: Zend\Paginator
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.
- Parent(s)
- \Zend_Paginator_ScrollingStyle_Sliding
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Link
- http://www.google.com/search?q=Zend+Framework
Methods


getPages(\Zend_Paginator $paginator, integer $pageRange = null) : array
Returns an array of "local" pages given a page number and range.
Parameters
Returns
Name | Type | Description |
---|---|---|
$paginator | \Zend_Paginator | |
$pageRange | integer | Unused |
Type | Description |
---|---|
array |