k2klettern/array-pagination

Set a Pagination from an array of results

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/k2klettern/array-pagination

1.0 2018-05-22 11:05 UTC

This package is not auto-updated.

Last update: 2025-12-12 09:34:20 UTC


README

Class to Paginate results from an array by Eric Zeidan k2klettern@gmail.com

How to use it

Clone in your vendor/

Install via composer update

or

composer create-project k2klettern/array-pagination

To get the Pagination just instantiate the class

$arrayToPaginate;

$c = new \arrayPagination\thePagination(); $c->setArray($arrayToPaginate); $arrayFiltered = $c->getPagination();

Do whatever you want with your array filtered

print the pagination

$c->theArrayPagination();