PHP Класс Horde_Imap_Client_Data_Thread, horde

Автор: Michael Slusarz ([email protected])
Наследование: implements Countable, implements Serializable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_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.

Открытые методы

Метод Описание
__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 )

Защищенные методы

Метод Описание
_getAllIndices ( ) : array Return all indices.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( array $data, string $type )
$data array See $_thread.
$type string Either 'sequence' or 'uid'.

_getAllIndices() защищенный Метод

Return all indices.
protected _getAllIndices ( ) : array
Результат array An array of indices.

count() публичный Метод

public count ( )

getThread() публичный Метод

Returns the list of messages in a thread.
public getThread ( integer $index ) : array
$index integer An index contained in the thread.
Результат 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.

getType() публичный Метод

Return the ID type.
public getType ( ) : string
Результат string Either 'sequence' or 'uid'.

messageList() публичный Метод

Return the sorted list of messages indices.
public messageList ( ) : Horde_Imap_Client_Ids
Результат Horde_Imap_Client_Ids The sorted list of messages.

serialize() публичный Метод

public serialize ( )

unserialize() публичный Метод

public unserialize ( $data )

Описание свойств

$_thread защищенное свойство

Internal thread data structure. Keys are base values, values are arrays with keys as the ID and values as the level.
protected array $_thread
Результат array

$_type защищенное свойство

The index type.
protected string $_type
Результат string