PHP Класс Vilma_MailboxDriver_Imap, horde

See the enclosed file LICENSE for license information (BSD). If you did not did not receive this file, see http://www.horde.org/licenses/bsd.
Автор: Jason M. Felice ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Vilma_MailboxDriver
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_imap Horde_Imap_Client_Base An IMAP client.

Открытые методы

Метод Описание
__construct ( array $params = [] ) Constructor.
checkMailbox ( string $user, string $domain ) : boolean Checks whether a mailbox exists and is set up properly.
createMailbox ( string $user, string $domain ) Creates a new mailbox.
deleteMailbox ( string $user, string $domain ) Deletes an existing mailbox.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( array $params = [] )
$params array Any parameters needed for this driver.

checkMailbox() публичный Метод

Checks whether a mailbox exists and is set up properly.
public checkMailbox ( string $user, string $domain ) : boolean
$user string The name of the mailbox to check.
$domain string The mailbox' domain.
Результат boolean True if the mailbox exists.

createMailbox() публичный Метод

Creates a new mailbox.
public createMailbox ( string $user, string $domain )
$user string The name of the mailbox to create.
$domain string The name of the domain in which to create the mailbox.

deleteMailbox() публичный Метод

Deletes an existing mailbox.
public deleteMailbox ( string $user, string $domain )
$user string The name of the mailbox to delete.
$domain string The name of the domain in which to delete the mailbox.

Описание свойств

$_imap защищенное свойство

An IMAP client.
protected Horde_Imap_Client_Base $_imap
Результат Horde_Imap_Client_Base