| 1 | <?php |
||
| 20 | class SelectBuilder extends Common\SelectBuilder |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * |
||
| 24 | * Override so that LIMIT equivalent will be applied by applyLimit(). |
||
| 25 | * |
||
| 26 | * @see build() |
||
| 27 | * |
||
| 28 | * @see applyLimit() |
||
| 29 | * |
||
| 30 | */ |
||
| 31 | 35 | public function buildLimitOffset($limit, $offset) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * |
||
| 38 | * Modify the statement applying limit/offset equivalent portions to it. |
||
| 39 | * |
||
| 40 | * @param string $stm SQL statement |
||
| 41 | * @return string SQL statement with limit/offset applied |
||
| 42 | * |
||
| 43 | */ |
||
| 44 | 35 | public function applyLimit($stm, $limit, $offset) |
|
| 65 | } |
||
| 66 |