PHP Class Horde_Imap_Client_Mailbox_List, horde
Copyright 2004-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.
Mostra file
Open project: horde/horde
Class Usage Examples
Protected Properties
Public Methods
Protected Methods
Method Details
__construct()
public method
_mboxCompare()
final protected method
Hierarchical folder sorting function (used with usort()).
getIterator()
public method
Sort the list of mailboxes.
public sort ( array $opts = [] ) : array |
$opts |
array |
Options:
- delimiter: (string) The delimiter to use.
DEFAULT: '.'
- inbox: (boolean) Always put INBOX at the head of the list?
DEFAULT: Yes
- noupdate: (boolean) Do not update the object's mailbox list?
DEFAULT: true |
return |
array |
List of sorted mailboxes (index association is kept). |
Property Details
$_delimiter protected_oe property
The delimiter character to use.
protected string $_delimiter |
return |
string |
|
$_mboxes protected_oe property
protected array $_mboxes |
return |
array |
|
$_sortinbox protected_oe property
Should we sort with INBOX at the front of the list?
protected bool $_sortinbox |
return |
boolean |
|