[ Index ] |
|
Code source de Horde 3.1.3 |
1 <?php 2 3 require_once 'Horde/IMAP/ACL/rfc2086.php'; 4 5 /** 6 * Contains functions related to managing Access Control Lists on an IMAP 7 * server using RFC 4314. 8 * 9 * Required parameters:<pre> 10 * 'username' The username for the server connection 11 * 'password' The password for the server connection 12 * 'hostspec' The hostname or IP address of the server. 13 * DEFAULT: 'localhost' 14 * 'port' The server port to which we will connect. 15 * IMAP is generally 143, while IMAP-SSL is generally 993. 16 * DEFAULT: 143 17 * 'protocol' The connection protocol (e.g. 'imap', 'pop3', 'nntp'). 18 * Protocol is one of 'imap/notls' (or only 'imap' if you 19 * have a c-client version 2000c or older), 'imap/ssl', or 20 * 'imap/ssl/novalidate-cert' (for a self-signed certificate). 21 * DEFAULT: 'imap'</pre> 22 * 23 * $Horde: framework/IMAP/IMAP/ACL/rfc4314.php,v 1.2.2.1 2006/02/06 23:21:19 selsky Exp $ 24 * 25 * Copyright 2006 Matt Selsky <selsky@columbia.edu> 26 * 27 * See the enclosed file COPYING for license information (LGPL). If you did 28 * not receive this file, see http://www.fsf.org/copyleft/lgpl.html. 29 * 30 * @author Matt Selsky <selsky@columbia.edu> 31 * @since Horde 3.1 32 * @package Horde_IMAP 33 */ 34 class IMAP_ACL_rfc4314 extends IMAP_ACL_rfc2086 { 35 36 /** 37 * Constructor. 38 * 39 * @param array $params Any additional parameters this driver may need. 40 */ 41 function IMAP_ACL_rfc4314($params = array()) 42 { 43 parent::IMAP_ACL_rfc2086($params); 44 45 $this->_rightsList = array( 46 'l' => _("List - user can see the folder"), 47 'r' => _("Read messages"), 48 's' => _("Mark with Seen/Unseen flags"), 49 'w' => _("Mark with other flags (e.g. Important/Answered)"), 50 'i' => _("Insert messages"), 51 'p' => _("Post to this folder (not enforced by IMAP)"), 52 'k' => _("Create sub folders"), 53 'x' => _("Delete sub folders"), 54 't' => _("Delete messages"), 55 'e' => _("Purge messages"), 56 'a' => _("Administer - set permissions for other users") 57 ); 58 } 59 60 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |