\Horde_Imap_Client_Data_AclRights

Available ACL rights for a mailbox/identifier (see RFC 2086/4314).

Summary

Methods
Properties
Constants
getString()
__construct()
__toString()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
current()
key()
next()
rewind()
valid()
serialize()
unserialize()
No public properties found
RFC_2086
RFC_4314
_normalize()
$_virtual
$_optional
$_required
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

$_virtual

$_virtual : array

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

Type

array

$_optional

$_optional : array

ACL optional rights.

Type

array

$_required

$_required : array

ACL required rights.

Type

array

Methods

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.

__construct()

__construct(array  $required = array(), array  $optional = array()) 

Constructor.

Parameters

array $required

The required rights (see RFC 4314 [2.1]).

array $optional

The optional rights (see RFC 4314 [2.1]).

__toString()

__toString() : string

String representation of the ACL.

Returns

string —

String representation (RFC 4314 compliant).

offsetExists()

offsetExists(  $offset) 

Parameters

$offset

offsetGet()

offsetGet(  $offset) 

Parameters

$offset

offsetSet()

offsetSet(  $offset,   $value) 

Parameters

$offset
$value

offsetUnset()

offsetUnset(  $offset) 

Parameters

$offset

current()

current() 

key()

key() 

next()

next() 

rewind()

rewind() 

valid()

valid() 

serialize()

serialize() 

unserialize()

unserialize(  $data) 

Parameters

$data

_normalize()

_normalize() 

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