| 1 | <?php |
||
| 20 | class Delete extends Common\Delete implements Common\OrderByInterface, Common\LimitOffsetInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * |
||
| 24 | * Sets a limit count on the query. |
||
| 25 | * |
||
| 26 | * @param int $limit The number of rows to select. |
||
| 27 | * |
||
| 28 | * @return $this |
||
| 29 | * |
||
| 30 | */ |
||
| 31 | 2 | public function limit($limit) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * |
||
| 39 | * Returns the LIMIT value. |
||
| 40 | * |
||
| 41 | * @return int |
||
| 42 | * |
||
| 43 | */ |
||
| 44 | 1 | public function getLimit() |
|
| 48 | |||
| 49 | /** |
||
| 50 | * |
||
| 51 | * Sets a limit offset on the query. |
||
| 52 | * |
||
| 53 | * @param int $offset Start returning after this many rows. |
||
| 54 | * |
||
| 55 | * @return $this |
||
| 56 | * |
||
| 57 | */ |
||
| 58 | 2 | public function offset($offset) |
|
| 63 | |||
| 64 | /** |
||
| 65 | * |
||
| 66 | * Returns the OFFSET value. |
||
| 67 | * |
||
| 68 | * @return int |
||
| 69 | * |
||
| 70 | */ |
||
| 71 | 1 | public function getOffset() |
|
| 75 | |||
| 76 | /** |
||
| 77 | * |
||
| 78 | * Adds a column order to the query. |
||
| 79 | * |
||
| 80 | * @param array $spec The columns and direction to order by. |
||
| 81 | * |
||
| 82 | * @return $this |
||
| 83 | * |
||
| 84 | */ |
||
| 85 | 1 | public function orderBy(array $spec) |
|
| 89 | } |
||
| 90 |