| @@ -164,8 +164,22 @@ | ||
| 164 | 164 | return $this->order->getProperties(); |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | + * Replaces the internal order details with the specified ones. | |
| 169 | + * | |
| 170 | + * @param array|object $order | |
| 171 | + * | |
| 172 | + * @return void | |
| 173 | + * | |
| 174 | + * @since 10.1.69 | |
| 175 | + */ | |
| 176 | + public function setOrder($order) | |
| 177 | + { | |
| 178 | + $this->order = new JObject($order); | |
| 179 | + } | |
| 180 | + | |
| 181 | + /** | |
| 168 | 182 | * Returns the configuration parameter related to the specified key. |
| 169 | 183 | * |
| 170 | 184 | * @param string $key The registry key. |
| 171 | 185 | * @param mixed $def The default value if the key is not set. |