Class ArrayAdapter

Summary

Fully Qualified Name: Zend\Paginator\Adapter\ArrayAdapter
Implements: AdapterInterface

Description

Methods

Name Description Defined By
__construct() Constructor. ArrayAdapter
count() Returns the total number of rows in the array. ArrayAdapter
getItems() Returns an array of items for a page. ArrayAdapter

Method Details

__construct()

Constructor.

Parameter Name Type Description
$array array ArrayAdapter

Returns:

count()

Returns the total number of rows in the array.

Returns: int

getItems()

Returns an array of items for a page.

Parameter Name Type Description
$offset int Page
$itemCountPerPage int Number

Returns: array

Top