[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 224 lignes (8 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
IMAP_Admin:: (7 méthodes):
IMAP_Admin()
_connect()
addMailbox()
_grantAdminPerms()
removeMailbox()
listMailboxes()
mailboxExists()
Classe: IMAP_Admin - X-Ref
The IMAP_Admin:: class allow managing of mailboxes on IMAP servers.IMAP_Admin($params) X-Ref |
Constructor. param: array $params A hash with all necessary parameters |
_connect() X-Ref |
Connects to the IMAP server with the parameters passed to the constructor. return: resource|object An IMAP resource or a PEAR_Error on failure |
addMailbox($mailbox) X-Ref |
Adds a mailbox. param: string $mailbox The mailbox name to add. return: mixed True on success or a PEAR_Error object on failure. |
_grantAdminPerms($mailbox) X-Ref |
Grant the admin user all rights on the mailbox. param: string $mailbox the name of the mailbox on which we will return: mixed True if successful, or PEAR_Error on failure |
removeMailbox($mailbox) X-Ref |
Deletes a mailbox. param: string $mailbox The mailbox to delete. return: mixed True on success or a PEAR_Error object on failure. |
listMailboxes() X-Ref |
List all mailboxes. Note that this does not work on a virtual-domain enabled Cyrus (it will only return mailboxes in the default domain). return: mixed The array of mailboxes, or a PEAR_Error object on failure. |
mailboxExists($mailbox) X-Ref |
Check whether a mailbox exists. param: string $mailbox The mailbox to check. return: mixed True if mailbox exists, false if not, or a PEAR_Error. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |