[ Index ]
 

Code source de Horde 3.1.3

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

title

Body

[fermer]

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

(pas de description)

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

Définit 1 class

IMAP_Sort:: (4 méthodes):
  IMAP_Sort()
  sortMailboxes()
  sortMailboxesByKey()
  _mbox_cmp()


Classe: IMAP_Sort  - X-Ref

IMAP_Sort provides functions for sorting lists of IMAP mailboxes/folders.

$Horde: framework/IMAP/IMAP/Sort.php,v 1.6.8.13 2006/02/15 18:07:52 slusarz Exp $

Copyright 2004-2006 Michael Slusarz <slusarz@bigworm.colorado.edu>

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_Sort($delimiter)   X-Ref
Constructor.

param: string $delimiter  The delimiter used to separate mailboxes.

sortMailboxes(&$mbox, $inbox = true, $index = false)   X-Ref
Sort a list of mailboxes (by value).

param: array &$mbox    The list of mailboxes to sort.
param: boolean $inbox  When sorting, always put 'INBOX' at the head of
param: boolean $index  Maintain index association?

sortMailboxesByKey(&$mbox, $inbox = true)   X-Ref
Sort a list of mailboxes (by key).

param: array &$mbox    The list of mailboxes to sort, with the keys
param: boolean $inbox  When sorting, always put 'INBOX' at the head of

_mbox_cmp($a, $b)   X-Ref
Hierarchical folder sorting function (used with usort()).

param: string $a  Comparison item 1.
param: string $b  Comparison item 2.
return: integer  See usort().



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