package Default

 Methods

Create paginator with items and adapter

factory(mixed $items, mixed $adapter = null) : \Zend\Paginator\Paginator
Static

Parameters

$items

mixed

$adapter

mixed

Returns

\Zend\Paginator\Paginator

Get the adapter plugin manager

getAdapterPluginManager() : \Zend\Paginator\AdapterPluginManager
Static

Returns

\Zend\Paginator\AdapterPluginManager

Change the adapter plugin manager

setAdapterPluginManager(\Zend\Paginator\AdapterPluginManager $adapters) : void
Static

Parameters

$adapters

\Zend\Paginator\AdapterPluginManager

Create adapter from items if necessary, and return paginator

createAdapterFromItems(\Zend\Paginator\Traversable/array $items) : \Zend\Paginator\Paginator
Static

Parameters

$items

\Zend\Paginator\Traversable/array

Returns

\Zend\Paginator\Paginator

Get adapter from manager if necessary, and return paginator

getAdapterFromManager(mixed $items, mixed $adapter) : \Zend\Paginator\Paginator
Static

Parameters

$items

mixed

$adapter

mixed

Returns

\Zend\Paginator\Paginator

 Properties

 

Adapter plugin manager

$adapters : \Zend\Paginator\AdapterPluginManager

Default

Static