roundcubemail/program/lib/Roundcube/rcube_message.php
public function get_part_url($mime_id, $embed = false)
    {
        if ($this->mime_parts[$mime_id])
            return $this->opt['get_url'] . '&_part=' . $mime_id . ($embed ? '&_embed=1&_mimeclass=' . $embed : '');
        else
            return false;
    }
public function get_part_url($mime_id, $embed = false)
    {
        if ($this->mime_parts[$mime_id])
            return $this->opt['get_url'] . '&_part=' . $mime_id . ($embed ? '&_embed=1&_mimeclass=' . $embed : '');
        else
            return false;
    }
public function get_part_url ( $ mime_id , $ embed = false ) { if ( $ this -> mime_parts [ $ mime_id ] ) return $ this -> opt [ 'get_url' ] . '&_part=' . $ mime_id . ( $ embed ? '&_embed=1&_mimeclass=' . $ embed : '' ) ; else return false ; }
Compose a valid URL for getting a message part

@param string $mime_id Part MIME-ID
@param mixed  $embed Mimetype class for parts to be embedded
@return string URL or false if part does not exist
Compose a valid URL for getting a message part