| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * @package VikWP - Libraries |
| 4 | 4 | * @subpackage adapter.sms |
| 5 | 5 | * @author E4J s.r.l. |
| 6 | - * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved. | |
| 6 | + * @copyright Copyright (C) 2023 E4J s.r.l. All Rights Reserved. | |
| 7 | 7 | * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL |
| 8 | 8 | * @link https://vikwp.com |
| 9 | 9 | */ |
| 10 | 10 | |
| @@ -161,8 +161,22 @@ | ||
| 161 | 161 | */ |
| 162 | 162 | public function getOrder() |
| 163 | 163 | { |
| 164 | 164 | return $this->order->getProperties(); |
| 165 | + } | |
| 166 | + | |
| 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); | |
| 165 | 179 | } |
| 166 | 180 | |
| 167 | 181 | /** |
| 168 | 182 | * Returns the configuration parameter related to the specified key. |