Function db_findWithPager
Get data with pagination
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/db_helper.mysqli.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/db_helper.mysqli.php
string |
$table |
The table name to fetch data from |
array |
$condition = array() |
<p>The condition array for query</p> <pre><code>array( 'value' => $value, 'exp >=' => $exp, 'field => $field ) </code></pre> |
array |
$orderBy = array() |
<p>The order by clause for query</p> <pre><code>array( 'field' => 'asc|desc' ) </code></pre> |
array |
$pagerOptions = array() |
Array of key/value pairs to Pager options |
array
|
[QueryBuilder, Pager, total] |