Methods
Constructs instance.
__construct(\Zend\Db\TableGateway\TableGateway $tableGateway, null | \Zend\Db\Sql\Where | \Closure | string | array $where, null | string | array $order, null | string | array $group, null | \Zend\Db\Sql\Having | \Closure | string | array $having)
Parameters
$order
nullstringarray
$group
nullstringarray
Exceptions
Returns the total number of rows in the result set.
count() : int
Inherited
inherited_from |
\Zend\Paginator\Adapter\DbSelect::count() |
Returns
int
Returns an array of items for a page.
getItems(int $offset, int $itemCountPerPage) : array
Inherited
inherited_from |
\Zend\Paginator\Adapter\DbSelect::getItems() |
Parameters
$itemCountPerPage
int
Number of items per page
Returns
array
Returns select query for count
getSelectCount() : \Zend\Db\Sql\Select
Inherited
inherited_from |
\Zend\Paginator\Adapter\DbSelect::getSelectCount() |
Returns
Properties
Database count query
$countSelect : \Zend\Db\Sql\Select | null
Inherited
inherited_from |
\Zend\Paginator\Adapter\DbSelect::$$countSelect |
$resultSetPrototype
$resultSetPrototype : \Zend\Db\ResultSet\ResultSet
Inherited
inherited_from |
\Zend\Paginator\Adapter\DbSelect::$$resultSetPrototype |
Total item count
$rowCount : int
Inherited
inherited_from |
\Zend\Paginator\Adapter\DbSelect::$$rowCount |
Database query
$select : \Zend\Db\Sql\Select
Inherited
inherited_from |
\Zend\Paginator\Adapter\DbSelect::$$select |
$sql
$sql : \Zend\Db\Sql\Sql
Inherited
inherited_from |
\Zend\Paginator\Adapter\DbSelect::$$sql |
Constants
ROW_COUNT_COLUMN_NAME
ROW_COUNT_COLUMN_NAME
Inherited
inherited_from |
\Zend\Paginator\Adapter\DbSelect::ROW_COUNT_COLUMN_NAME |