PHP Класс 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.
Показать файл
Открыть проект
Примеры использования класса
Защищенные свойства (Protected)
Открытые методы
Защищенные методы
Описание методов
__construct()
публичный Метод
_mboxCompare()
закрытый защищенный Метод
Hierarchical folder sorting function (used with usort()).
getIterator()
публичный Метод
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 |
Результат |
array |
List of sorted mailboxes (index association is kept). |
Описание свойств
$_delimiter защищенное свойство
The delimiter character to use.
protected string $_delimiter |
Результат |
string |
|
$_mboxes защищенное свойство
protected array $_mboxes |
Результат |
array |
|
$_sortinbox защищенное свойство
Should we sort with INBOX at the front of the list?
protected bool $_sortinbox |
Результат |
boolean |
|