| @@ 50-59 (lines=10) @@ | ||
| 47 | * |
|
| 48 | * @return $this |
|
| 49 | */ |
|
| 50 | public function setFieldParam($field, $key, $value) |
|
| 51 | { |
|
| 52 | if (!isset($this->_params[$field])) { |
|
| 53 | $this->_params[$field] = []; |
|
| 54 | } |
|
| 55 | ||
| 56 | $this->_params[$field][$key] = $value; |
|
| 57 | ||
| 58 | return $this; |
|
| 59 | } |
|
| 60 | ||
| 61 | /** |
|
| 62 | * Sets the query string. |
|
| @@ 47-56 (lines=10) @@ | ||
| 44 | * |
|
| 45 | * @return $this |
|
| 46 | */ |
|
| 47 | public function setFieldParam($field, $key, $value) |
|
| 48 | { |
|
| 49 | if (!isset($this->_params[$field])) { |
|
| 50 | $this->_params[$field] = []; |
|
| 51 | } |
|
| 52 | ||
| 53 | $this->_params[$field][$key] = $value; |
|
| 54 | ||
| 55 | return $this; |
|
| 56 | } |
|
| 57 | ||
| 58 | /** |
|
| 59 | * Sets the query string. |
|