roundcubemail/program/lib/Roundcube/rcube_imap_generic.php
public function getHierarchyDelimiter()
    {
        if ($this->prefs['delimiter']) {
            return $this->prefs['delimiter'];
        }

        // try (LIST "" ""), should return delimiter (RFC2060 Sec 6.3.8)
        list($code, $response) = $this->execute('LIST',
            array($this->escape(''), $this->escape('')));

        if ($code == self::ERROR_OK) {
            $args = $this->tokenizeResponse($response, 4);
            $delimiter = $args[3];

            if (strlen($delimiter) > 0) {
                return ($this->prefs['delimiter'] = $delimiter);
            }
        }
    }
public function getHierarchyDelimiter()
    {
        if ($this->prefs['delimiter']) {
            return $this->prefs['delimiter'];
        }

        // try (LIST "" ""), should return delimiter (RFC2060 Sec 6.3.8)
        list($code, $response) = $this->execute('LIST',
            array($this->escape(''), $this->escape('')));

        if ($code == self::ERROR_OK) {
            $args = $this->tokenizeResponse($response, 4);
            $delimiter = $args[3];

            if (strlen($delimiter) > 0) {
                return ($this->prefs['delimiter'] = $delimiter);
            }
        }
    }
public function getHierarchyDelimiter ( ) { if ( $ this -> prefs [ 'delimiter' ] ) { return $ this -> prefs [ 'delimiter' ] ; } // try (LIST "" ""), should return delimiter (RFC2060 Sec 6.3.8) list ( $ code , $ response ) = $ this -> execute ( 'LIST' , array ( $ this -> escape ( '' ) , $ this -> escape ( '' ) ) ) ; if ( $ code == self :: ERROR_OK ) { $ args = $ this -> tokenizeResponse ( $ response , 4 ) ; $ delimiter = $ args [ 3 ] ; if ( strlen ( $ delimiter ) > 0 ) { return ( $ this -> prefs [ 'delimiter' ] = $ delimiter ) ; } } }
Detects hierarchy delimiter

@return string The delimiter
Detects hierarchy delimiter