$multi
$multi
Class holding a set of rcube_result_index instances that together form a result set of a multi-folder search
set_message_index(\rcube_message_header[] $headers, string $sort_field, string $sort_order) : mixed
Store a global index of (sorted) message UIDs
| \rcube_message_header[] | $headers | Messages in the index |
| string | $sort_field | Header field to sort by |
| string | $sort_order | Sort order |
exists(int $msgid, bool $get_index = false) : mixed
Check if the given message ID exists in the object
| int | $msgid | Message ID |
| bool | $get_index | When enabled element's index will be returned. Elements are indexed starting with 0 |
False if message ID doesn't exist, True if exists or index of the element if $get_index=true