Documentation

Horde_Imap_Client_Data_AclCommon
in package

Provides common methods shared in all ACL classes (see RFC 2086/4314).

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2011-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

RFC_2086  = 1
Constants for getString().
RFC_4314  = 2
$_virtual  : array<string|int, mixed>
List of virtual rights (RFC 4314 [2.1.1]).
getString()  : string
Returns the raw string to use in IMAP server calls.

Constants

RFC_2086

Constants for getString().

public mixed RFC_2086 = 1

Properties

$_virtual

List of virtual rights (RFC 4314 [2.1.1]).

protected array<string|int, mixed> $_virtual = array(\Horde_Imap_Client::ACL_CREATE => array(\Horde_Imap_Client::ACL_CREATEMBOX, \Horde_Imap_Client::ACL_DELETEMBOX), \Horde_Imap_Client::ACL_DELETE => array( \Horde_Imap_Client::ACL_DELETEMSGS, // Don't put this first - we do checks on the existence of the // first element in this array to determine the RFC type, and this // is duplicate of right contained in ACL_CREATE. \Horde_Imap_Client::ACL_DELETEMBOX, \Horde_Imap_Client::ACL_EXPUNGE, ))

Methods

getString()

Returns the raw string to use in IMAP server calls.

public getString([int $type = self::RFC_4314 ]) : string
Parameters
$type : int = self::RFC_4314

The RFC type to use (RFC_* constant).

Return values
string

The string representation of the ACL.

Search results