Horde_Imap_Client_Data_Capability_Imap::__get PHP Метод

__get() публичный Метод

public __get ( $name )
    public function __get($name)
    {
        switch ($name) {
            case 'cmdlength':
                /* RFC 2683 [3.2.1.5] originally recommended that lines should
                 * be limited to "approximately 1000 octets". However, servers
                 * should allow a command line of at least "8000 octets".
                 * RFC 7162 [4] updates the recommendation to 8192 octets.
                 * As a compromise, assume all modern IMAP servers handle
                 * ~2000 octets and, if CONDSTORE/QRESYNC is supported, assume
                 * they can handle ~8000 octets. (Don't need dependency support
                 * checks here - the simple presence of CONDSTORE/QRESYNC is
                 * enough to trigger.) */
                return isset($this->_data['CONDSTORE']) || isset($this->_data['QRESYNC']) ? 8000 : 2000;
        }
    }
Horde_Imap_Client_Data_Capability_Imap