Fully Qualified Name: | Zend\Paginator\Adapter\Iterator |
Implements: | AdapterInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor. | Iterator |
count() | Returns the total number of rows in the collection. | Iterator |
getItems() | Returns an iterator of items for a page, or an empty array. | Iterator |
Constructor.
Parameter Name | Type | Description |
---|---|---|
$iterator | \Iterator | Iterator |
Returns:
Returns the total number of rows in the collection.
Returns: int
Returns an iterator of items for a page, or an empty array.
Parameter Name | Type | Description |
---|---|---|
$offset | int | Page |
$itemCountPerPage | int | Number |
Returns: array|\SerializableLimitIterator