public function allAclRights()
    {
        $this->login();

        $rights = array(
            Horde_Imap_Client::ACL_LOOKUP,
            Horde_Imap_Client::ACL_READ,
            Horde_Imap_Client::ACL_SEEN,
            Horde_Imap_Client::ACL_WRITE,
            Horde_Imap_Client::ACL_INSERT,
            Horde_Imap_Client::ACL_POST,
            Horde_Imap_Client::ACL_ADMINISTER
        );

        if ($capability = $this->_capability()->getParams('RIGHTS')) {
            // Add rights defined in CAPABILITY string (RFC 4314).
            return array_merge($rights, str_split(reset($capability)));
        }

        // Add RFC 2086 rights (deprecated by RFC 4314, but need to keep for
        // compatibility with old servers).
        return array_merge($rights, array(
            Horde_Imap_Client::ACL_CREATE,
            Horde_Imap_Client::ACL_DELETE
        ));
    }
public function allAclRights()
    {
        $this->login();

        $rights = array(
            Horde_Imap_Client::ACL_LOOKUP,
            Horde_Imap_Client::ACL_READ,
            Horde_Imap_Client::ACL_SEEN,
            Horde_Imap_Client::ACL_WRITE,
            Horde_Imap_Client::ACL_INSERT,
            Horde_Imap_Client::ACL_POST,
            Horde_Imap_Client::ACL_ADMINISTER
        );

        if ($capability = $this->_capability()->getParams('RIGHTS')) {
            // Add rights defined in CAPABILITY string (RFC 4314).
            return array_merge($rights, str_split(reset($capability)));
        }

        // Add RFC 2086 rights (deprecated by RFC 4314, but need to keep for
        // compatibility with old servers).
        return array_merge($rights, array(
            Horde_Imap_Client::ACL_CREATE,
            Horde_Imap_Client::ACL_DELETE
        ));
    }
public function allAclRights ( ) { $ this -> login ( ) ; $ rights = array ( Horde_Imap_Client :: ACL_LOOKUP , Horde_Imap_Client :: ACL_READ , Horde_Imap_Client :: ACL_SEEN , Horde_Imap_Client :: ACL_WRITE , Horde_Imap_Client :: ACL_INSERT , Horde_Imap_Client :: ACL_POST , Horde_Imap_Client :: ACL_ADMINISTER ) ; if ( $ capability = $ this -> _capability ( ) -> getParams ( 'RIGHTS' ) ) { // Add rights defined in CAPABILITY string (RFC 4314). return array_merge ( $ rights , str_split ( reset ( $ capability ) ) ) ; } // Add RFC 2086 rights (deprecated by RFC 4314, but need to keep for // compatibility with old servers). return array_merge ( $ rights , array ( Horde_Imap_Client :: ACL_CREATE , Horde_Imap_Client :: ACL_DELETE ) ) ; }
Return master list of ACL rights available on the server.

@return array  A list of ACL rights.
Return master list of ACL rights available on the server .