| Fully Qualified Name: | Zend\Paginator\Adapter\DbTableGateway |
| Extends: | DbSelect |
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructs instance. | DbTableGateway |
| count() | Returns the total number of rows in the result set. | DbSelect |
| getItems() | Returns an array of items for a page. | DbSelect |
Constructs instance.
| Parameter Name | Type | Description |
|---|---|---|
| $tableGateway | \AbstractTableGateway | |
| $where | null|\Where|\Closure|string|array | |
| $order | null|string|array | |
| $group | null|string|array | |
| $having | null|\Having|\Closure|string|array |
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