Class for accessing IMAP's THREAD result
| package |
Framework |
|---|---|
| subpackage |
Storage |
__construct( $mailbox = null, $data = null)
build_thread( $items, $level = 1, &$pos)
build_thread_data( $data, &$depth, &$children, $level)
count() : integer
integerNumber of elements
exists(integer $msgid, boolean $get_index = false) : boolean
integerMessage ID
booleanWhen enabled element's index will be returned. Elements are indexed starting with 0
booleanTrue on success, False if message ID doesn't exist
filter(array $roots)
arrayList of IDs of thread roots.
get() : array
arrayList of message identifiers
get_compressed() : array
arrayList of message identifiers
get_element(integer|string $index) : integer
integer|stringElement's index or "FIRST" or "LAST"
integerElement value
get_parameters(string $param = null) : array|string
stringParameter name
array|stringResponse parameters or parameter value
get_thread_data() : array
arrayThread data
get_tree() : array
arrayData tree
init(string $data = null)
stringIMAP response string
is_empty() : boolean
booleanTrue if the result is empty, False otherwise
is_error() : boolean
booleanTrue if the result is an error, False otherwise
max() : integer
integerMaximum message identifier
min() : integer
integerMinimum message identifier
parse_thread( $str, $begin, $end, $depth)
revert()
slice( $offset, $length)
Offset (as for PHP's array_slice())
Number of elements (as for PHP's array_slice())
sort(\rcube_result_index $index)
SEPARATOR_ELEMENT
SEPARATOR_ITEM
SEPARATOR_LEVEL
incomplete :
raw_data :
mailbox :
order :