@@ -23,7 +23,6 @@ discard block |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * |
26 | - * @param \ $model |
|
27 | 26 | */ |
28 | 27 | public function __construct(DriverAdapter $db, $table) { |
29 | 28 | $this->db = $db; |
@@ -106,6 +105,9 @@ discard block |
||
106 | 105 | $this->boundData += $values; |
107 | 106 | } |
108 | 107 | |
108 | + /** |
|
109 | + * @param boolean $firstOnly |
|
110 | + */ |
|
109 | 111 | public function setFirstOnly($firstOnly) { |
110 | 112 | $this->firstOnly = $firstOnly; |
111 | 113 | return $this; |
@@ -123,6 +125,9 @@ discard block |
||
123 | 125 | $this->offset = $offset; |
124 | 126 | } |
125 | 127 | |
128 | + /** |
|
129 | + * @param string $field |
|
130 | + */ |
|
126 | 131 | public function addSort($field, $direction = 'ASC') { |
127 | 132 | $this->sorts[] = "$field $direction"; |
128 | 133 | } |