\Horde_Imap_Client_Data_AclNegative

ACL *negative* rights for a mailbox (see RFC 2086/4314 [2]).

Summary

Methods
Properties
Constants
__construct()
__toString()
diff()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
getIterator()
serialize()
unserialize()
getString()
No public properties found
RFC_2086
RFC_4314
_normalize()
$_rights
$_virtual
N/A
No private methods found
No private properties found
N/A

Constants

RFC_2086

RFC_2086

Constants for getString().

RFC_4314

RFC_4314

Properties

$_rights

$_rights : array

ACL rights.

Type

array

$_virtual

$_virtual : array

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

Type

array

Methods

__construct()

__construct(string  $rights = '') 

Constructor.

Parameters

string $rights

The rights (see RFC 4314 [2.1]).

__toString()

__toString() : string

String representation of the ACL.

Returns

string —

String representation (RFC 4314 compliant).

diff()

diff(string  $rights) : array

Computes the difference to another rights string.

Virtual rights are ignored.

Parameters

string $rights

The rights to compute against.

Returns

array —

Two element array: added and removed.

offsetExists()

offsetExists(  $offset) 

Parameters

$offset

offsetGet()

offsetGet(  $offset) 

Parameters

$offset

offsetSet()

offsetSet(  $offset,   $value) 

Parameters

$offset
$value

offsetUnset()

offsetUnset(  $offset) 

Parameters

$offset

getIterator()

getIterator() 

serialize()

serialize() 

unserialize()

unserialize(  $data) 

Parameters

$data

getString()

getString(integer  $type = self::RFC_4314) : string

Returns the raw string to use in IMAP server calls.

Parameters

integer $type

The RFC type to use (RFC_* constant).

Returns

string —

The string representation of the ACL.

_normalize()

_normalize() 

Normalize virtual rights (see RFC 4314 [2.1.1]).