roundcubemail/program/lib/Roundcube/rcube_imap.php
protected function list_thread_messages($folder, $page, $slice=0)
    {
        // get all threads (not sorted)
        if ($mcache = $this->get_mcache_engine()) {
            $threads = $mcache->get_thread($folder);
        }
        else {
            $threads = $this->threads($folder);
        }

        return $this->fetch_thread_headers($folder, $threads, $page, $slice);
    }
protected function list_thread_messages($folder, $page, $slice=0)
    {
        // get all threads (not sorted)
        if ($mcache = $this->get_mcache_engine()) {
            $threads = $mcache->get_thread($folder);
        }
        else {
            $threads = $this->threads($folder);
        }

        return $this->fetch_thread_headers($folder, $threads, $page, $slice);
    }
protected function list_thread_messages ( $ folder , $ page , $ slice = 0 ) { // get all threads (not sorted) if ( $ mcache = $ this -> get_mcache_engine ( ) ) { $ threads = $ mcache -> get_thread ( $ folder ) ; } else { $ threads = $ this -> threads ( $ folder ) ; } return $ this -> fetch_thread_headers ( $ folder , $ threads , $ page , $ slice ) ; }
protected method for listing message headers using threads

@param string $folder Folder name
@param int    $page   Current page to list
@param int    $slice  Number of slice items to extract from result array

@return array Indexed array with message header objects
@see rcube_imap::list_messages
protected method for listing message headers using threads