roundcubemail/program/include/rcmail_install.php
public function get_hostlist()
    {
        $default_hosts = (array) $this->getprop('default_host');
        $out           = array();

        foreach ($default_hosts as $key => $name) {
            if (!empty($name)) {
                $out[] = rcube_utils::parse_host(is_numeric($key) ? $name : $key);
            }
        }

        return $out;
    }
public function get_hostlist()
    {
        $default_hosts = (array) $this->getprop('default_host');
        $out           = array();

        foreach ($default_hosts as $key => $name) {
            if (!empty($name)) {
                $out[] = rcube_utils::parse_host(is_numeric($key) ? $name : $key);
            }
        }

        return $out;
    }
public function get_hostlist ( ) { $ default_hosts = ( array ) $ this -> getprop ( 'default_host' ) ; $ out = array ( ) ; foreach ( $ default_hosts as $ key => $ name ) { if ( ! empty ( $ name ) ) { $ out [ ] = rcube_utils :: parse_host ( is_numeric ( $ key ) ? $ name : $ key ) ; } } return $ out ; }
Return a list with all imap hosts configured

@return array Clean list with imap hosts
Return a list with all imap hosts configured