Property | Type | Description | |
---|---|---|---|
$_thread | array | Internal thread data structure. Keys are base values, values are arrays with keys as the ID and values as the level. | |
$_type | string | The index type. |
Method | Description | |
---|---|---|
__construct ( array $data, string $type ) | Constructor. | |
count ( ) | ||
getThread ( integer $index ) : array | Returns the list of messages in a thread. | |
getType ( ) : string | Return the ID type. | |
messageList ( ) : Horde_Imap_Client_Ids | Return the sorted list of messages indices. | |
serialize ( ) | ||
unserialize ( $data ) |
Method | Description | |
---|---|---|
_getAllIndices ( ) : array | Return all indices. |
public __construct ( array $data, string $type ) | ||
$data | array | See $_thread. |
$type | string | Either 'sequence' or 'uid'. |
protected _getAllIndices ( ) : array | ||
return | array | An array of indices. |
public getThread ( integer $index ) : array | ||
$index | integer | An index contained in the thread. |
return | array | Keys are indices, values are objects with the following properties: - base: (integer) Base ID of the thread. If null, thread is a single message. - last: (boolean) If true, this is the last index in the sublevel. - level: (integer) The sublevel of the index. |
public messageList ( ) : Horde_Imap_Client_Ids | ||
return | Horde_Imap_Client_Ids | The sorted list of messages. |
protected array $_thread | ||
return | array |