PHP Class Horde_Imap_Client_Data_Acl, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Imap_Client_Data_AclCommon, implements ArrayAccess, implements IteratorAggregate, implements Serializable
Exibir arquivo Open project: horde/horde

Protected Properties

Property Type Description
$_rights array ACL rights.

Public Methods

Method Description
__construct ( string $rights = '' ) Constructor.
__toString ( ) : string String representation of the ACL.
diff ( string $rights ) : array Computes the difference to another rights string.
getIterator ( ) * IteratorAggregate method.
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
serialize ( )
unserialize ( $data )

Protected Methods

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

Method Details

__construct() public method

Constructor.
public __construct ( string $rights = '' )
$rights string The rights (see RFC 4314 [2.1]).

__toString() public method

String representation of the ACL.
public __toString ( ) : string
return string String representation (RFC 4314 compliant).

_normalize() protected method

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

diff() public method

Virtual rights are ignored.
public diff ( string $rights ) : array
$rights string The rights to compute against.
return array Two element array: added and removed.

getIterator() public method

* IteratorAggregate method.
public getIterator ( )

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

serialize() public method

public serialize ( )

unserialize() public method

public unserialize ( $data )

Property Details

$_rights protected_oe property

ACL rights.
protected array $_rights
return array