PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Libraries/Imap2/Roundcube/ResultThread.php +3 -21 10.2.2 → 11.1.0 View file →
@@ -20,12 +20,8 @@
20 20 */
21 21
22 22 namespace AcyMailing\Libraries\Imap2\Roundcube;
23 23
24 -use AcyMailing\Libraries\Imap2\Offset;
25 -use AcyMailing\Libraries\Imap2\rcube_imap_generic;
26 -use AcyMailing\Libraries\Imap2\rcube_result_index;
27 -
28 24 /**
29 25 * Class for accessing IMAP's THREAD result
30 26 *
31 27 * @package Framework
@@ -189,9 +185,9 @@
189 185
190 186 /**
191 187 * Slices data set.
192 188 *
193 - * @param $offset Offset (as for PHP's array_slice())
189 + * @param $offset (as for PHP's array_slice())
194 190 * @param $length Number of elements (as for PHP's array_slice())
195 191 */
196 192 public function slice($offset, $length)
197 193 {
@@ -325,22 +321,8 @@
325 321 return preg_split($regexp, $this->raw_data);
326 322 }
327 323
328 324 /**
329 - * Return all messages in the result.
330 - *
331 - * @return array List of message identifiers
332 - */
333 - public function get_compressed()
334 - {
335 - if (empty($this->raw_data)) {
336 - return '';
337 - }
338 -
339 - return rcube_imap_generic::compressMessageSet($this->get());
340 - }
341 -
342 - /**
343 325 * Return result element at specified index (all messages, not roots)
344 326 *
345 327 * @param int|string $index Element's index or "FIRST" or "LAST"
346 328 *
@@ -433,13 +415,13 @@
433 415
434 416 /**
435 417 * THREAD=REFS sorting implementation (based on provided index)
436 418 *
437 - * @param rcube_result_index $index Sorted message identifiers
419 + * @param ResultIndex $index Sorted message identifiers
438 420 */
439 421 public function sort($index)
440 422 {
441 - $this->sort_order = $index->get_parameters('ORDER');
423 + $this->order = $index->get_parameters('ORDER');
442 424
443 425 if (empty($this->raw_data)) {
444 426 return;
445 427 }