[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/IMAP/ -> Thread.php (sommaire)

(pas de description)

Poids: 240 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

IMAP_Thread:: (8 méthodes):
  IMAP_Thread()
  getThreadIndent()
  getThreadBase()
  lastInLevel()
  _getKey()
  messageList()
  getThread()
  _processStructure()


Classe: IMAP_Thread  - X-Ref

IMAP_Thread provides functions for working with imap_thread() output.

$Horde: framework/IMAP/IMAP/Thread.php,v 1.4.10.13 2006/01/01 21:28:21 jan Exp $

Copyright 2004-2006 Michael Slusarz <slusarz@curecanti.org>

See the enclosed file COPYING for license information (GPL). If you
did not receive this file, see http://www.fsf.org/copyleft/gpl.html.

IMAP_Thread($ob)   X-Ref
Constructor.

param: array $ob  Output from imap_thread().

getThreadIndent($index)   X-Ref
Gets the indention level for an IMAP message index.

param: integer $index  The IMAP message index.
return: mixed  Returns the thread indent level if $index found.

getThreadBase($index)   X-Ref
Gets the base thread index for an IMAP message index.

param: integer $index  The IMAP message index.
return: mixed  Returns the base IMAP index if $index is part of a

lastInLevel($index)   X-Ref
Is this index the last in the current level?

param: integer $index  The IMAP message index.
return: boolean  Returns true if $index is the last element in the

_getKey($index)   X-Ref
Do the message index -> array index lookup.

param: integer $index  The IMAP message index.
return: mixed  The array index value or null if no index.

messageList($new)   X-Ref
Return the sorted list of messages indices.

param: boolean $new  True for newest first, false for oldest first.
return: array  The sorted list of messages.

getThread($index)   X-Ref
Returns the list of messages in the current thread.

param: integer $index  The IMAP index of the current message.
return: array  A list of IMAP message indices.

_processStructure()   X-Ref
Process the output from imap_thread() into an internal data structure.




Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7