1 | <?php |
||
20 | class Select extends Common\Select |
||
21 | { |
||
22 | /** |
||
23 | * |
||
24 | * Builds this query object into a string. |
||
25 | * |
||
26 | * @return string |
||
27 | * |
||
28 | */ |
||
29 | 33 | protected function build() |
|
33 | |||
34 | /** |
||
35 | * |
||
36 | * Override so that LIMIT equivalent will be applied by applyLimit(). |
||
37 | * |
||
38 | * @see build() |
||
39 | * |
||
40 | * @see applyLimit() |
||
41 | * |
||
42 | */ |
||
43 | 32 | protected function buildLimit() |
|
47 | |||
48 | /** |
||
49 | * |
||
50 | * Modify the statement applying limit/offset equivalent portions to it. |
||
51 | * |
||
52 | * @param string $stm SQL statement |
||
53 | * @return string SQL statement with limit/offset applied |
||
54 | * |
||
55 | */ |
||
56 | 32 | protected function applyLimit($stm) |
|
77 | } |
||
78 |