roundcubemail/program/lib/Roundcube/rcube_result_thread.php
public function get_thread_data()
    {
        $data     = $this->get_tree();
        $depth    = array();
        $children = array();

        $this->build_thread_data($data, $depth, $children);

        return array($depth, $children);
    }
public function get_thread_data()
    {
        $data     = $this->get_tree();
        $depth    = array();
        $children = array();

        $this->build_thread_data($data, $depth, $children);

        return array($depth, $children);
    }
public function get_thread_data ( ) { $ data = $ this -> get_tree ( ) ; $ depth = array ( ) ; $ children = array ( ) ; $ this -> build_thread_data ( $ data , $ depth , $ children ) ; return array ( $ depth , $ children ) ; }
Returns thread depth and children data

@return array Thread data
Returns thread depth and children data