| [ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 492 lignes (18 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
IMAP_ACL_rfc2086:: (9 méthodes):
IMAP_ACL_rfc2086()
_connect()
createACL()
editACL()
_getCapability()
getACL()
_getACL()
canEdit()
_atomise()
Classe: IMAP_ACL_rfc2086 - X-Ref
Contains functions related to managing Access Control Lists on an IMAP| IMAP_ACL_rfc2086($params = array() X-Ref |
| Constructor. param: array $params Any additional parameters this driver may need. |
| _connect() X-Ref |
| Pas de description |
| createACL($folder, $share_user, $acl) X-Ref |
| Sets the ACL on an IMAP server. param: string $folder The folder on which to edit the ACL. param: string $share_user The user to grant rights to. param: array $acl An array, the keys of which are the rights to return: mixed True on success, PEAR_Error on failure or if server |
| editACL($folder, $share_user, $acl) X-Ref |
| Edits an ACL on an IMAP server. param: string $folder The folder on which to edit the ACL. param: string $share_user The user to grant rights to. param: array $acl An array, the keys of which are the rights to return: mixed True on success, false on failure unless server doesn't |
| _getCapability() X-Ref |
| Attempts to get the result of a CAPABILITY command to the current IMAP server. return: array An array containing the server's capabilities. |
| getACL($folder) X-Ref |
| Attempts to retrieve the existing ACL for a folder from the current IMAP server. param: string folder The folder to get the ACL for. return: array A hash containing information on the ACL. |
| _getACL($folder, $authMech) X-Ref |
| Attempts to retrieve the existing ACL for a folder from the current IMAP server. NB: if Auth_SASL is not installed this function will send the users password to the IMAP server as plain text!! param: string folder The folder to get the ACL for. param: string authMech The authorisation mechanism to use. One of return: array A hash containing information on the ACL |
| canEdit($folder, $user) X-Ref |
| Can a user edit the ACL for this folder? param: string $folder The folder name. param: string $user A user name. return: boolean True if $user has permission to edit the ACL on |
| _atomise($in) X-Ref |
| Crudely split a string into 'atoms'. param: string $in The string to split. return: array An array of 'atoms'. |
| Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |