Overview

Packages

  • Imap
    • Client

Classes

  • Horde_Imap_Client
  • Horde_Imap_Client_Auth_DigestMD5
  • Horde_Imap_Client_Base
  • Horde_Imap_Client_Cache
  • Horde_Imap_Client_Data_Acl
  • Horde_Imap_Client_Data_AclCommon
  • Horde_Imap_Client_Data_AclNegative
  • Horde_Imap_Client_Data_AclRights
  • Horde_Imap_Client_Data_Envelope
  • Horde_Imap_Client_Data_Fetch
  • Horde_Imap_Client_Data_Fetch_Pop3
  • Horde_Imap_Client_Data_Thread
  • Horde_Imap_Client_DateTime
  • Horde_Imap_Client_Exception
  • Horde_Imap_Client_Exception_NoSupportExtension
  • Horde_Imap_Client_Fetch_Query
  • Horde_Imap_Client_Ids
  • Horde_Imap_Client_Ids_Pop3
  • Horde_Imap_Client_Mailbox
  • Horde_Imap_Client_Search_Query
  • Horde_Imap_Client_Socket
  • Horde_Imap_Client_Socket_Pop3
  • Horde_Imap_Client_Sort
  • Horde_Imap_Client_Translation
  • Horde_Imap_Client_Utf7imap
  • Horde_Imap_Client_Utils
  • Horde_Imap_Client_Utils_Pop3
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Imap_Client_Data_Thread

Object allowing easy access to threaded sort results from Horde_Imap_Client_Base::thread().

Copyright 2008-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Horde_Imap_Client_Data_Thread implements Countable, Serializable
Package: Imap\Client
Category: Horde
License: LGPL 2.1
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Imap/Client/Data/Thread.php
Methods summary
public
# __construct( array $data, string $type )

Constructor.

Constructor.

Parameters

$data
<p>The data as returned by Horde_Imap_Client_Base::_thread().</p>
$type
Either 'uid' or 'sequence'.
public array
# getRawData( )

Return the raw thread data array.

Return the raw thread data array.

Returns

array
See Horde_Imap_Client_Base::_thread().
public mixed
# getThreadIndent( integer $index )

Gets the indention level for an index.

Gets the indention level for an index.

Parameters

$index
The index.

Returns

mixed

Returns the thread indent level if $index found. Returns false on failure.

public mixed
# getThreadBase( integer $index )

Gets the base thread index for an index.

Gets the base thread index for an index.

Parameters

$index
The index.

Returns

mixed

Returns the base index if $index is part of a thread. Returns false on failure.

public boolean
# lastInLevel( integer $index )

Is this index the last in the current level?

Is this index the last in the current level?

Parameters

$index
The index.

Returns

boolean

Returns true if $index is the last element in the current thread level. Returns false if not, or on failure.

public array
# messageList( )

Return the sorted list of messages indices.

Return the sorted list of messages indices.

Returns

array
The sorted list of messages.
public array
# getThread( integer $index )

Returns the list of messages in the current thread.

Returns the list of messages in the current thread.

Parameters

$index
The index of the current message.

Returns

array
A list of message indices.
public
# count( )

Implementation of

Countable::count()
public
# serialize( )

Implementation of

Serializable::serialize()
public
# unserialize( mixed $data )

Implementation of

Serializable::unserialize()
API documentation generated by ApiGen