| Fully Qualified Name: | Laminas\Paginator\Adapter\DbSelect |
| Implements: | AdapterInterface |
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor. | DbSelect |
| count() | Returns the total number of rows in the result set. | DbSelect |
| getItems() | Returns an array of items for a page. | DbSelect |
Constructor.
| Parameter Name | Type | Description |
|---|---|---|
| $select | \Select | The |
| $adapterOrSqlObject | \Adapter|\Sql | DB |
| $resultSetPrototype | null|\ResultSetInterface | |
| $countSelect | null|\Select |
Returns:
Returns the total number of rows in the result set.
Returns: int
Returns an array of items for a page.
| Parameter Name | Type | Description |
|---|---|---|
| $offset | int | Page |
| $itemCountPerPage | int | Number |
Returns: array