roundcubemail/program/lib/Roundcube/rcube_imap.php
public function id2uid($id, $folder = null)
    {
        if (!strlen($folder)) {
            $folder = $this->folder;
        }

        if (!$this->check_connection()) {
            return null;
        }

        return $this->conn->ID2UID($folder, $id);
    }
public function id2uid($id, $folder = null)
    {
        if (!strlen($folder)) {
            $folder = $this->folder;
        }

        if (!$this->check_connection()) {
            return null;
        }

        return $this->conn->ID2UID($folder, $id);
    }
public function id2uid ( $ id , $ folder = null ) { if ( ! strlen ( $ folder ) ) { $ folder = $ this -> folder ; } if ( ! $ this -> check_connection ( ) ) { return null ; } return $ this -> conn -> ID2UID ( $ folder , $ id ) ; }
Find UID of the specified message sequence ID

@param int    $id     Message (sequence) ID
@param string $folder Folder name

@return int Message UID
Find UID of the specified message sequence ID