@@ 180-189 (lines=10) @@ | ||
177 | return $this; |
|
178 | } |
|
179 | ||
180 | public function fields($fields) |
|
181 | { |
|
182 | if (is_array($fields) || $fields === null) { |
|
183 | $this->fields = $fields; |
|
184 | } else { |
|
185 | $this->fields = func_get_args(); |
|
186 | } |
|
187 | ||
188 | return $this; |
|
189 | } |
|
190 | ||
191 | public function source($source) |
|
192 | { |
|
@@ 191-200 (lines=10) @@ | ||
188 | return $this; |
|
189 | } |
|
190 | ||
191 | public function source($source) |
|
192 | { |
|
193 | if (is_array($source) || $source === null) { |
|
194 | $this->source = $source; |
|
195 | } else { |
|
196 | $this->source = func_get_args(); |
|
197 | } |
|
198 | ||
199 | return $this; |
|
200 | } |
|
201 | } |
|
202 |