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(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.