db_findWithPager

Get array of data row objects with pagination result

Parameters
string $table

The table name to fetch data from

#
array $condition = []

The condition array for query

#
array $orderBy = []

The order by clause for query

#
array $pagerOptions = []

Array of key/value pairs to Pager options

#
Returns
array

[QueryBuilder, Pager, total]