public function getString($type = self::RFC_4314)
    {
        $acl = strval($this);

        if ($type == self::RFC_2086) {
            foreach ($this->_virtual as $key => $val) {
                $acl = str_replace($val, '', $acl, $count);
                if ($count) {
                    $acl .= $key;
                }
            }
        }

        return $acl;
    }
public function getString($type = self::RFC_4314)
    {
        $acl = strval($this);

        if ($type == self::RFC_2086) {
            foreach ($this->_virtual as $key => $val) {
                $acl = str_replace($val, '', $acl, $count);
                if ($count) {
                    $acl .= $key;
                }
            }
        }

        return $acl;
    }
public function getString ( $ type = self :: RFC_4314 ) { $ acl = strval ( $ this ) ; if ( $ type == self :: RFC_2086 ) { foreach ( $ this -> _virtual as $ key => $ val ) { $ acl = str_replace ( $ val , '' , $ acl , $ count ) ; if ( $ count ) { $ acl .= $ key ; } } } return $ acl ; }
Returns the raw string to use in IMAP server calls.

@param integer $type  The RFC type to use (RFC_* constant).

@return string  The string representation of the ACL.
Returns the raw string to use in IMAP server calls .