Fully Qualified Name: | Laminas\Paginator\Adapter\ArrayAdapter |
Implements: | AdapterInterface |
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 |
Constructor.
Parameter Name | Type | Description |
---|---|---|
$array | array | ArrayAdapter |
Returns:
Returns the total number of rows in the array.
Returns: int
Returns an array of items for a page.
Parameter Name | Type | Description |
---|---|---|
$offset | int | Page |
$itemCountPerPage | int | Number |
Returns: array