2017 © Pedro Peláez
 

yii2-extension separatedpager

Yii2 LinkPager displays a few pages before and after the current page and first and last pages

image

maddog043/separatedpager

Yii2 LinkPager displays a few pages before and after the current page and first and last pages

  • Wednesday, May 3, 2017
  • by maddog043
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Separated Pager for Yii2

Yii2 LinkPager displays a few pages before and after the current page and first and last pages, (*1)

sample, (*2)

Installation

Install the extension

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist maddog043/yii2-separatedpager "*"

or add, (*5)

"maddog043/yii2-separatedpager": "*"

to the require section of your composer.json file., (*6)

Usage

Simply add the LinkPager to page, (*7)

use maddog043\separatedpager\LinkPager;

...

LinkPager::widget([
    'pagination' => $pages,
    'maxButtonCount' => 1,
]);

$pages is yii\data\Pagination, (*8)

maxButtonCount is count button before and after the current page, (*9)

separator is separator for pages, (*10)

separatorClass is class for separator symbol, (*11)

The Versions

03/05 2017

dev-master

9999999-dev

Yii2 LinkPager displays a few pages before and after the current page and first and last pages

  Sources   Download

MIT

The Requires

 

by Yury Golovanov

yii2 pagination linkpager

03/05 2017

1.0.0

1.0.0.0

Yii2 LinkPager displays a few pages before and after the current page and first and last pages

  Sources   Download

MIT

The Requires

 

by Yury Golovanov

yii2 pagination linkpager