roundcubemail/program/lib/Roundcube/rcube_result_multifolder.php
public function get_set($folder)
    {
        foreach ($this->sets as $set) {
            if ($set->get_parameters('MAILBOX') == $folder) {
                return $set;
            }
        }

        return false;
    }
public function get_set($folder)
    {
        foreach ($this->sets as $set) {
            if ($set->get_parameters('MAILBOX') == $folder) {
                return $set;
            }
        }

        return false;
    }
public function get_set ( $ folder ) { foreach ( $ this -> sets as $ set ) { if ( $ set -> get_parameters ( 'MAILBOX' ) == $ folder ) { return $ set ; } } return false ; }
Returns the stored result object for a particular folder

@param string $folder Folder name

@return false|object rcube_result_* instance of false if none found
Returns the stored result object for a particular folder